Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-24-2004, 02:00 AM   #1
Registered User
Join Date: Mar 2003
Posts: 95
Default Pausing movie

I am having some trouble creating a pause button for my movie. Basically, my main timeline has several movie clips, there's some animation within each movie clip and some movie clips have children movie clips. What I want is to pause at an exact frame and there will be a button to resume at current paused position. Just like a regular pause button.

So I had the idea to make a mc spit out a variable that tells me it is currently playing, but with my setup this gets really messy, especailly with several children movie clips.

I saw this hack solution which makes a new printjob instance and it does the pausing perfectly. Apprarently this is a stupid way to pause the movie, so I am looking for a similar function that can allow the pause w/o prompting a window, ie. not a hacked solution! Thanks in advanced!

Hacked Way:

PHP Code:

function pauseMovie()
= new PrintJob();

80// p key
19// pause/break key

infiniti is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:42 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.