[General] Feedback: Morphs Need setOpacity method
philmaker at gmail.com
Wed Feb 25 23:04:17 CET 2009
I don't normally use FF but I dug around in FireBug. I now understand that
every morph is already contained inside an SVG group. I suppose I just need
to hack something like this:
But I'm not entirely sure how to access the g node of each morph though
(this.node, this.rawNode, this.shape?) I'll keep playing - getting closer I
Anyway, feedback: it would be nice if every Morph supported setOpacity to be
able to affect the opacity of each item in that group (including their
On Wed, Feb 25, 2009 at 1:18 AM, Philip Weaver <philmaker at gmail.com> wrote:
> ImageMorphs do not appear to support opacity. However SVG groups do. How do
> I extend ImageMorph to nest lively.scene.Image inside an lively.scene.Group
> to allow image opacity? How do I use lively.scene.Group to affect the
> overall opacity of a set of child morphs?
> The goal is to perform animated transitions: click on an image and it fades
> to a Flickr/Google image results selector and then fades back.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lively-kernel