Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Fast Forward/ Rewind/ Pause in Flash |
From: | Marc Hoffman |
Date: | Wed, 3 Mar 1999 07:27:54 GMT |
Forgive me if this is a duplicate post. I got a strange mail error message
implying this did not get delivered on first attempt.
At 12:12 PM 3/2/99 -0800, you wrote:
>Hello Yan,
>
>I don't know how to do a rewind, or for that matter the forward stop and
>fast forward. Can you make a pause? would you be willing to share how to
>do those others? That would be perfect for my video I'm trying to do with
>flash.
>
Here's the basic idea for fast forward (this presumes your main timeline is
stopped):
Make a MC:
Frame 1 has a Stop action;
Frame 2 has an action:
Begin TellTarget (target: ..) [where .. represents the main timeline]
Go to the next frame
End TellTarget
Begin TellTarget (target: ..)
Go to the next frame
End TellTarget
Frame 3 has the same actions and also has the action:
Go To and Play frame 2
Drag this MC onto the stage. Give it an instance name fastforward
Create a Fast Forward button. Give it these actions:
On Rollover
Begin Tell Target (target: /fastforward)
Play
End Tell Target
End On
On RollOut
Begin Tell Target (target: /fastforward)
Go to and Stop frame 1
End TellTarget
End On
When the user mouses over the fast forward button, it makes the fastforward
MC play, which sends a loop of commands to the main timeline making it jump
two frames ahead for every frame of the MC that plays. When the mouse
leaves the fast forward button's hit area, the fast forward MC parks itself
in frame 1 and stops issuing commands to the main timeline.
To make this a reverse switch, change all "Go to the next frame" commands
to "Go to the previous frame" commands.
To make a pause button, you don't need an associated MC. Give the button
instance these actions: On RollOver, have it telltarget the main timeline
to stop. On RollOut have it telltarget the main timeline to play.
Marc Hoffman
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
marcdartfrogmedia [dot] com (mailto:marcdartfrogmedia [dot] com)
My home site is now featured in Ken Milburn's book, Flash 3 Web Animation f/x
and Design. Play a virtual marimba there: <www.dartfrogmedia.com/dartfrog>.
View my Flash3 samples: <http://www.jps.net/dartfrog/sampler>.
Read about Flash: <http://www.jps.net/dartfrog/sampler/flashinf>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [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
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]