Flasher Archive

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


Subject: RE: FLASH: Greetings and first question
From: Scott Jeppesen
Date: Fri, 12 May 2000 03:22:12 +0100

First make sure that the field is set to an expression and not a string
literal. Then if you want to change the rotation by say 10% per MC you could
do something like this:

Assume TotalClips is the total number of copies and that your original clip
is called "Clip1"

Set Variable: "x" = 1
Set Variable: "TotalClips" = 100
Loop While (x <= TotalClips )
Duplicate Movie Clip ("/Clip1", "Clip"&x, x+1)
Set Property ( "/Clip"&x , _rotation ) = GetProperty ("/Clip"&x, _rotation)
+ 10
Set Variable: "x" = x + 1
End Loop

Of Course the clips would be rotated but they would be right on top of
eachother. Use a similar method to move each one.

SJ
-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Ian Smith
Sent: Thursday, May 11, 2000 7:55 PM
To: flasheratchinwag [dot] com
Subject: FLASH: Greetings and first question


Hi all, I just subbed to this list, I have been using flash on and off for
3 years or more but I just recently got into trying some of the new flash 4
stuff.

My question is this, has anyone had any success with using variables in the
Set Properties action. Basically I am trying to create a loop that steps
up the rotation amount for each new instance of a movie clip. But every
time I put something other than a hard integer into the value field nothing
happens. I don't know if I'm setting the variables wrong (It's been a
while since I've done any programing) or if it simply does not allow
non-integer values.

Any help would be appreciated esp if anyone nows of some good tutorials on
using these features in flash.

Cheers
Ian

rife locks
ICQ# 33513289



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Greetings and first question, Ian Smith

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