ExternalInteface.addCallback does lock whatever function you pass it and the object associated with it. To avoid that you register a function in the main app with ExternalInterface since you won't be destroying the main app until you are truly done, then have it call anybody you need.
To deal with knowing when setFocus gets called try FocusEvent.FOCUS_IN Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of Manish Jethani Sent: Wednesday, May 27, 2009 1:43 PM To: [email protected] Subject: Re: [flexcoders] Need Alternative for enterFrame event (Causing Memory leak ) On Thu, May 28, 2009 at 1:38 AM, Dharmendra Chauhan <[email protected]<mailto:chauhan_icse%40yahoo.com>> wrote: > Please , suggest some alternative for EnterFrame event which gets fired on > set focus event. activate? Manish

