Flasher Archive

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


Subject: Re: FLASH: resetting a rotation?
From: John Croteau
Date: Sat, 14 Aug 1999 00:42:57 +0100

Hi Karin,

> I created a dial that rotates clockwise or counterclockwise 6 degrees
> at a time with a right and left arrow key press. I want to be able to
> reset the dial back to the starting position or 0. I have been able
> to move the dial back to the 0 position several different ways but
> when I click an arrow key the dial goes back to the place where it
> left off before I reset it. Is there a tricky way to write the
> scripting that I am missing? Anyone?

To reset the rotation of an object back to zero:

Set Property ("/object", Rotation) = 0

All properties are the present state of an object.
Thus
Set Property ("/object", Rotation) = 90
turms an objct 90 degrees
Applying this same property again does not turn it another 90 degrees
but rather does nothing since it is already at 90 degrees.

----------- -----------------------
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: 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


Replies
  FLASH: resetting a rotation?, Karin Christensen

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