Flasher Archive

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


Subject: Re: FLASH: NICE!!!!!
From: John Croteau
Date: Fri, 29 Oct 1999 16:55:21 +0100

Hi George,

> I am sure that there is a better way of doing it, but for now it works
Not really the second version (as below) setting the rotation by
property is pretty much the way to do it. As you found out Tweening
compared to Properties is very limiting. Fine adjustment with variables
and properties is both easy and precise, whereas the same can not be
said of standard tween methods.

> I have tried setting a variable in frame 1:
> Set Variable: "X" = GetProperty ( "/symbol", _x )
> and in frame 2:
> Set Variable: "X2" = GetProperty ( "/symbol", _x )

> a third variable could be used to calculate the rotation
>
> set variable "xrot" = (x2 - x) / 2
> if (xrot > 25)
> set variable "xrot" = 25
> end if
> if (xrot < -25)
> set variable "xrot" = -25
> end if
> set property ("/symbol/swing",Rotation)=xrot

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: NICE!!!!!, George Medve

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