Flasher Archive

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


Subject: Re: Glowing Button problems
From: John Croteau
Date: Sat, 1 Aug 1998 01:32:25 +0100

Hi all,

> >Want to create a button which glows each 10 seconds, got 5 keyframes for
> >the glow, 30 keyframes just with the button.
> >The Problem:
> >The button glows each second, none of the 30 keyframes is used.
> >Please help, can't find any solution.
> I suspect you're trying to create the glow sequence in the button edit
> timeline.
I believe Marc is correct and creating a delay in the button is probably
not a good technique.

> To create a glow cycle (or any other animated button), the animation must
> be in a movie clip. Then drag the movie clip into the button edit timeline
> for the state(s) where you want the animation. Note: the movie clip will
> play at the frame rate selected for your main movie. If you've selected a
> frame rate of 12 per second, then build your movie clip so the glow occurs
> over 12 frames and then repeats.
Generally, I would agree that the best technique is to put the delay in
a movie clip. But your math seems to be wrong. A 10 second delay is 10
times the frame rate so it would be 120 frames if the frame rate is 12
frames per second and Flash maintains the frame rate. Generally I
subtract 2 frames for general Flash overhead, so I would start with a
delay Movie Clip of 118 frames. If you want it to repeat every 10
seconds then you need to subtract frames equivalent in time to the On
period of your Button. A timing loop of this sort is dependent upon both
the speed of the computer and how complicated the things you are doing
in Flash at the time. This basic timing loop using a Movie Clip is used
in my Flash Timer (the tutorial and FLA are available at Anchor
http://www.AHREF.com/)

> The button edit window only reads the original four frames
> representing the four states: up, over, down, and hit.
Actually frames 5 and up can be used in Button symbols, they just aren't
part of the button proper.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
FlashTeK(Advanced Websites with Flash) http://www.CrownMall.com/Flash/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
Need a PC ? -- Computer King -- http://www.crownmall.com/computers/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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


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