> You can wrap your Sprite inside an UIComponent (code not tested): > var s:Sprite = new Sprite();
> var c:UIComponent = new UIComponent(); > c.addChild(s); > var b:Box = new Box(); > b.addChild(b); I meant b.addChild(c) of course... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/