PDA

View Full Version : loader - non-sequential loading ?



Smallzworld
February 27th, 2008, 11:56 AM
I've been experiencing an issue loading .swf clips non-sequentially.

I've attached the files. Visually you won't see much, but when you see the trace "Everythings loaded", it's working as envisioned. It works perfect when "Testing" the movie. But if I debug, for some reason the loading halts. I notice in the debugger it'll actually have a trace -- maybe from the Garbage Collector ? -- that says [unloadSWF]. Which is odd, because I never delete or unload the .swf


Anyone have any idea what's going on here ?

Smallzworld
February 27th, 2008, 02:37 PM
Ok, Senocular helped solve this one for me.

The loader needed to be public, otherwise the Garbage Collector was trashing it whenever the loadAssets function completed -- instead of waiting for the loadComplete event.



I've been experiencing an issue loading .swf clips non-sequentially.

I've attached the files. Visually you won't see much, but when you see the trace "Everythings loaded", it's working as envisioned. It works perfect when "Testing" the movie. But if I debug, for some reason the loading halts. I notice in the debugger it'll actually have a trace -- maybe from the Garbage Collector ? -- that says [unloadSWF]. Which is odd, because I never delete or unload the .swf


Anyone have any idea what's going on here ?