Jump to content


Controlling play/pause of swf movie using html page buttons

Recommended Posts

Warm greetings!

  1. I've an swf movie embedded in an html page.
  2. The page has a button which when clicked, opens a modal window.
  3. I wanted to know, whether it's possible to pause the swf movie which is being played in the background, when this html button is clicked and resume play when the modal window is closed.

Eagerly awaiting comments,


Thanks in advance and best regards,


Link to comment
Share on other sites

This forum is intended to be used for questions directly related to GreenSock tools rather than general ActionScript questions, but it sounds like what you're describing would be served by ExternalInterface: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.html


If you have other general ActionScript questions, I'd recommend the forums at actionscript.org or kirupa.com. Don't hesitate to ask any GreenSock-related questions here, though. We'd love to help.

Link to comment
Share on other sites

Thank you so much for such a quick reply! I asked this question here as I had created the swf movie using tweenlite and timelinelite, and hoped your awesome platform may have a solution for such a requirement! 8-)


Thanks also for redirecting me to a possible solution. I'll check that out.


Best regards,


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.