Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to pause SWF playback

Contributor ,
Feb 11, 2009 Feb 11, 2009
Is there a way to create a temporary button that allows you to pause a SWF in the middle of playback? Hopefully when you pressed a 'resume' button, the SWF would beginto play at the exact point where it paused.
TOPICS
ActionScript
2.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 11, 2009 Feb 11, 2009
It all depends on how the playback is running and what is running within it. If it's all timeline based, then you could probably have the button tell it to gotoAndStop(_currentframe); though I never tried it. IF you have multiple timelines playing at the same time, then you'd have to command each to stop as well. If the action isn't timeline based, then you'd have to have some conditionals built into your actionscript that prohibit code from being processed while a pause-related variable has a true value.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 05, 2011 Sep 05, 2011

hi
sorry for double post today but i was searching for this topic last week since i am new in the forum and i found it now in history menu looooool

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 05, 2011 Sep 05, 2011
LATEST

thankyou but my files are converted ms office files (via php script) any idea how can i control it when playing

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines