Darn, I've been able to prove to myself that the object can still exist in memory but not be in the rawchildren. How can i get a handle on these orphans? Do I need to resort to creating a Dictionary Object with weak keys, and store an reference of every object created in there? Is there a more elegant solution?
--- In [email protected], "jeff tapper" <[EMAIL PROTECTED]> wrote: > > Matt- > > Your solutions didnt work for me, I suspect its because all the > children we create/destroy in this app are done via the popup > manager. Regardless how many children we created that way, I'm > always finding that: > this.childDescriptors.toString(); > var o:Object = ObjectUtil.getClassInfo(Application.application); > trace(ObjectUtil.toString(o)); > and Application.application.getChildren().toString() return the same > things, whether there is 0 or 100 windows open. So far, the best > I've found for our needs is: > > var childList:IChildList = this.systemManager.rawChildren; > for(var i:int=0;i<childList.numChildren;i++){ > trace(childList.getChildAt(i)); > } > > My fear is that there may be "orphans," windows which have been > removed from the display list but which are still active in memory. > Any idea how to check on that? > > --- In [email protected], "Matt Horn" <mhorn@> wrote: > > > > I don't know about those tools you mention, but some ideas for > listing > > available objects: > > > > 1) trace(this.childDescriptors.toString()); > > > > 2) var o:Object = ObjectUtil.getClassInfo (Application.application); > > trace(ObjectUtil.toString(o)); > > > > 3) trace(Application.application.getChildren().toString()); > > > > hth, > > > > matt horn > > flex docs > > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[EMAIL PROTECTED] On Behalf Of jeff tapper > > > Sent: Wednesday, July 26, 2006 10:22 AM > > > To: [email protected] > > > Subject: [flexcoders] Tools for listing objects > > > > > > Does any one know of a tool like "OptimizeIt!" for java, or > > > like "List Objects" in Flash Studio for finding all objects > > > currently in existance? We are looking to verify that we have > > > truely cleaned up objects no longer in use, and released them > > > to the GC, but without a tool like this, we cant tell what > > > exists and what doesnt. Does anyone have any tips? > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/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/

