Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Pause movie |
From: | John Croteau |
Date: | Tue, 14 Sep 1999 22:38:06 +0100 |
Hi 2Nerotik,
Did you even look at the plug and play routine?
http://www.FlashBible.com/Members/ActionScript/PlugNPlay/Delay.htm
Takes 1 frame with a Stop action, drag a movie clip onto a new layer and
add 2 lines of code. One to set the delay and one to call the routine in
the Plug and Play MC.
Set Variable: "Delay" = 10
Call ("/Count:Up")
The Flash 3 technique uses one frmae as well.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2Nerotik wrote:
>> Try this instead.
> create a blank layer on this layer you need 3 keyframes
>
> 1st KeyFrame
> Properties
>
> -> Actions
> ---> Set Variable
> ---------> in the Variable window input x [note: this is a String Literal]
> ---------> in the Value window input 0 [note: this is an Expression]
>
> 2nd KeyFrame
> Properties
>
> -> Label
> ---> Set Label
> -------> Loop
>
> -> Actions
> ---> Set Variable
> ---------> in the Variable window input x [note: this is a String Literal]
> ---------> in the Value window input x+1 [note: this is an Expression]
>
> 3rd KeyFrame
> Properties
>
> -> Actions
> ---> set IF / Else statement --
> ---------> If (x=60)
> ---------> Go To Continue
> ---------> Else
> ---------> Go To Loop
> ---------> End If
>
> Explanation: x+1 ---- where x represents 1 frame
> x=60 --- should be aprox. a 5 second pause at 12 fps
> ... increase or decrease number in increments of you fps setting
> Continue --- where you want to go to after the pause
>
> the 2nd & 3rd Keyframes should be put in the time line where you want the
> pause to occur (keeping them on their own layer) if the part you want to
> pause at is at just one keyframe you must in insert another frame at that
> spot in the time line on all layers then move the 2nd & 3rd keyframes (that
> contain the loop) to that spot.
>
> The whole advantage of this is that you only need 3 frames and can set the
> pause as long or short as you want... with these 3 frames you can have a 1
> second pause or a 10 minute pause by only changing one number rather than
> adding in a ton of extra frames.
>
> note as well the 1st KeyFrame that sets the x variable to 0 may only be
> needed if you are using the x variable somewhere else in the move... it's
> just there to ensure that x really starts a 0.
>
> These 3 KeyFrames can now be copied into any other part of the movie that
> needs a pause as well so if you need 2 places that require a 10 second
> pause you get 6 frames for the price of 240 frames at 12 fps and 400 frames
> at 20 fps... pretty good deal if you ask me.
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: helpchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: Pause movie, 2Nerotik
Replies
Re: FLASH: Pause movie, 2Nerotik
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]