I see, i think that in my case it might be the use of DataService components, so i am guessing that i will have to disconnect from the destination before unloading.
I will try to see if i can find a way to disconnect from the destination, but any ideas on where to or which event might help, please let me know. --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If you load a SWF into SWFLoader, you have to figure out what might have > grabbed it, or what it grabbed. If you took the SWFLoader.content and > re-parented it, you have to removeChild it from wherever you parented > it. If you stored it in a variable, you have to null out that variable. > > > > Conversely, if the SWF that got loaded has code that listens to events > from its parents or singleton managers, or registers its managers with > SingletonManager you have to find a way to break those links before the > SWF will unload. There is a known issue with TabNavigator/ViewStack > when using HistoryManager. > > > > There's no one place to look, so you have to keep searching sometimes. > Note that the SWF does not necessarily immediately unload when the last > link is broken. It will wait until Garbage Collection. > > > > -Alex > > > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of dmiramontesval > Sent: Monday, March 12, 2007 12:46 PM > To: [email protected] > Subject: [flexcomponents] Unloading swf > > > > I am using the SWFLoader component to load and unload other swfs > within my application, the thing is that sometimes the swf that is > supposedly unloaded it isn't actually being unload. > > Alex Harui mentioned me at 360Flex that it is possible to manually cut > all the references of the swf that is going to be unloaded so it > unloads properly. The thing i just can't remember which event he > mentioned i could try to use to do this :P > > So Alex if you read this, can you please refresh my mind? > > Thanks > > Diego >
