Use typeof or instanceof. unload runs 1 frame after the object is destroyed (object being something that extends UIObject).
I like you and your listener. ----- Original Message ----- From: "Libby" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 16, 2005 4:29 PM Subject: [flexcoders] Two ViewStack Questions - easy for you guys : ) Is there a way to identify the object returned by viewStack.getChildAt()?. I get a complex object back that could be one of many objects; id is not valid. Also, when does the view.unload() run? I would have thought it runs when I do viewStack.destroyChildAt(i), but either it doesn't or it doesn't like me and my listener. Thanks, Libby -- 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/

