Jump to content
Search Community

pauseAll/resumeAll in loaded swf

pMedia test
Moderator Tag

Recommended Posts

Is there a way to limit the scope of TweenMax.pauseAll() and TweenMax.resumeAll() to each loaded swf.

 

I have a player main swf that loads and plays other sub swfs. Each sub swf uses pauseAll and resumeAll to control a bunch of TweenLite/TweenMax and TimelineMax tweens. The pauseAll/resumeAll work well and work as expected when the sub swfs play as stand alone. When they are loaded into the player and play within the player, the pauseAll/resumeAll functions would pause/resume all tweens in all loaded sub swfs at the same time. That's because pauseAll/resumeAll are static functions, that's why each call of these functions will globally apply to all loaded sub swfs. Is there a way to limit the affect of pauseAll/resumeAll to each local sub swf only?

 

Thanks in advance for your help!

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...