Again, only just got to this...
The "same action another two times" was from following the advice in here http://livedocs.adobe.com/flex/3/html/help.html?content=profiler_7.html# 207205 and of course I meant another 3 times ;) I did find the issue eventually, though it was painful. You were right when you asserted that the [child0] backreference was a red herring, it was the view's parent that was still being held onto, and that was due to creating a Menu in a click handler. Just in case anyone else ever runs up against a similar issue, taskMenu = Menu.createMenu(this, new TaskMenuConfig( ).CONFIG_ARRAY, true); will pin the UI (I'm still unsure exactly why, when I get 5 minutes, I'll look into it), however taskMenu = Menu.createMenu(DisplayObjectContainer(Application.application), new TaskMenuConfig( ).CONFIG_ARRAY, true); will leave the UI to be garbage collected. So, no the profiler wasn't telling lies! Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk <blocked::http://www.inps.co.uk/> The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact [email protected] ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Alex Harui Sent: 07 May 2009 07:24 To: [email protected] Subject: RE: [flexcoders] Profiler telling lies? Hmm, not sure I understood everything you're doing. What is the "same action another two times"? When you say the "line with the instance being the viewstack object", if that is a loitering object and [child0] is the backreference, then that should mean that the viewstack is still parented and so the issue is not with the viewstack's children. Alex Harui Flex SDK Developer

