Evolution
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Evolution
-
-
Hello,
I'm working on cleaning up some legacy code so it can be unloaded from the parent SWF and ran into an issue that when any TweenMax function is called within a child SWF (eg. TweenMax.killAll(), just that, nothing else is called), it blocks the child SWF from being unloaded. The same issue cannot be repeated when instead of TweenMax I use TweenLite or TweenNano. Using advanced telemetry Adobe Scout just shows that TweenLite initializers are not garbage collected.
As a note, the parent SWF also uses TweenLite. The child SWFs are loaded into the parent in the same application domain and security domain using LoaderMax.
I am using * VERSION: 12.0.0 * DATE: 2013-01-21 of TweenNano and * VERSION: 12.1.5, * DATE: 2014-07-19 of TweenMax (the latest package)
Any ideas as to what might cause this are appreciated.
I would upload the scout session files but those are ~14mb each, instead I can offer dropbox links:
https://dl.dropboxusercontent.com/u/15108424/EvoWrapper/EvoWrapper-collected.flm
https://dl.dropboxusercontent.com/u/15108424/EvoWrapper/EvoWrapper-notCollected.flm
SWF unload not working after TweenMax inited
in GSAP (Flash)
Posted
Thanks for the input, I'll do some experimenting when I have the time. I am unloading using the built in Loader.unloadAndStop(); I'll give SWFLoader a try. I definitely allowed enough time for 120 enter frames to pass.