Yeah, but the adding and removing of listeners (and setting up of styles, etc.) is done internally, so you don't have to worry about it. Just addChild() and removeChild() away!
On 4/25/07, gerardjamesmcbreen <[EMAIL PROTECTED]> wrote: > I've read Ted P's two articles > http://www.onflex.org/ted/2006/12/developing-in-trees-part-2.php > on developing in trees in AS3. He's promised a 3rd one which discusses > reparenting in flex - which would be really useful. Meanwhile does > anyone have any advice regarding reparenting display objects in flex ?? > > In my trial it seems to work - when you add a display containor to > different one it disappears from one and appears in the other. So > what's my problem: > > Ted wrote: Flex is a bit different as the UIComponent class hooks into > events and these need to be removed first. > > Has anyone already done this? > > > > -- > 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 > > > >

