Jump to content
Search Community

Stoping all tweens within a loader? (external swf)

swiftmend test
Moderator Tag

Recommended Posts

EDIT: SOLVED!!!

 

solution is simply,

 

TweenMax.killChildTweensOf(apponeLoader)

 

 

TweenLite frickin rocks. A solution to all problems.

 

---------

 

Hi,

 

I have a case where I need to kill all the tweens within a loaded external SWF before I can remove it - unloadAndStop doesn't do this as they are calling each other constantly (EG the tween oncomplete recalls itself constantly, so the only way to remove and unload the swf is to stop that tween) - is there an easy way to kill a loaded swfs tweens (loaded using the loader class).

 

this is how I load it:

 

var apponeLoader:Loader=new Loader();

var apponeRequest:URLRequest = new URLRequest("./Assets/SWF/app1.swf");

apponeLoader.load(apponeRequest);

addChild(apponeLoader);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...