Search the Community
Showing results for tags 'unload'.
-
Hello Carl and eveybody ... I found this project you uploaded named loadSWFsPlaySequence dot zip ... but unfortunately I faced a big problem : problem 1 : as I want to load huge and multiple swfs one after another I should be aware of memory that loaded swfs take ,so I tried to unload last swf when new swf is loading but each time I failed ... problem 2 : how can I fade in each swf that is loading using loadeMax ? please somebody tell me am I such stupid or it's hard to ... can you help ? thanks a lot ... link to that file : http://greensock.com/forums/index.php?app=core&module=attach§ion=attach&attach_id=2074
-
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
-
Hi, First, thanks for the great products. Greensock is the first 3rd-party tweening library I've used, and I love it. I have an AIR application that contains about 25 videos. Every time we play a video, we unload the last video. The problem is the video object is not being garbage-collected after we call unload. It's staying in memory. By the time we've played all 25 of our videos, memory is approaching 1.5 gigabytes and our program crashes. This is how we create the VideoLoader: vloader = new VideoLoader(config.videoAPI+videofs, {name:"video_"+ys+"_"+i, scaleMode:"stretch", load:false, autoPlay:false, smoothing:true, bufferTime: 2}); This is our code to unload it: video.loader.cancel(); video.loader.unload(); video.loader.dispose(true); I imagine all three lines are overkill, but we are trying everything. Could it be an eventListener that is preventing the memory from being freed? Thanks, Bob
-
Is there a way I can call a function whenever a SWF has finished unloading? I've searched in the docs, but I can't find what I need.
-
Hi, Quick question as I'm a bit of a noob to LoaderMax. I'm creating SWF files with custom content and loading them using LoaderMax. It's all working great. However, my external swf's are like "windows" with their own close buttons. In the past I've used: Movieclip(this.parent).unLoadContent(); This, however, does not work using LoaderMax. Is it possible to call unload from the loaded SWF (child)? Any help would be greatly appreciated. Many thanks, J.