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:
rawNode.style.setProperty('opacity', '0.2');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 think. 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 images). Phil On Wed, Feb 25, 2009 at 1:18 AM, Philip Weaver <[email protected]> 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. > > Thanks, > Phil > > [edited] >
_______________________________________________ General mailing list [email protected] http://livelykernel.sunlabs.com/mailman/listinfo/general
