Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: spin with script only |
From: | peter hagerty |
Date: | Wed, 6 Sep 2000 11:57:34 +0100 |
At 06:06 PM 9/5/00 -0700, you wrote:
I can use a script to target the propeller on mouse over to do
>something- like rotate 10o but not continuously.
>Can anyone point me in the right direction as I have
>used several variation but to no effect.
Use the rotation property and then loop.
New Symbol=Movie Clip
*Frame 1 [no label]
Set Variable:"rotprop" = 0
*Frame 2 [Frame label=repeatloop]
Set Property ("propellor", Rotation) = rotprop
[Sets the amount (degrees) of rotation of your Graphic mc "propellor to be
equal to the variable rotprop n.b. the frame label]
*Frame 3 [no label]
Set Variable: rot =rot+5
Go to and Play ("repeatloop")
[Increments the variable rotprop by 5 degrees(or whatever) then goes to
frame2] ... forever
This principle of increment and loop for rotation can also be used to
change x,y positions and alpha, all are well explained in the PDF Flash4
manual.
:: peterhagerty
:: arklo.com
:: liverpool
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: spin with script only, Ernest lee
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]