Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Advance a number of frames
From: John Croteau
Date: Wed, 8 Sep 1999 07:36:52 +0100

Hi Paul,

> Is there a way to script a button so that it advances
> a certain number of frames? For example, I want to
> make it so that when you click a button, the button
> will tell the target movie clip to advance 30 frames.
> I don't want to call a label (just so you know I know
> the difference) because that will not do what I want.

The first is demonstrated in the FlashBible tutorial Score.
To advance 30 frames in Flash 3 you need 30 Tell targets as in Example 2
(which shows 3) or one short line as in Example 2 if you can use Flash
4.

-----------------------
Example 1) Combine Multiple Tell Targets (Note, you don't need to
separate On() containers:

On (Release)
Begin Tell Target ("/movieclip")
Go to Next Frame
End Tell Target
Begin Tell Target ("/movieclip")
Go to Next Frame
End Tell Target
Begin Tell Target ("/movieclip")
Go to Next Frame
End Tell Target
End On
------------------------------
Example 2) Using the _currentframe property in Flash 4.

On (Release)
Begin Tell Target ("/movieclip")
Go to and Stop (_currentframe + 30)
End Tell Target
End On


----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [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-manageratshocker [dot] com. Problems to: helpatchinwag [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-manageratshocker [dot] com


Replies
  FLASH: Advance a number of frames, Paul Hagwood

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]