Flasher Archive

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


Subject: Re: FLASH:Help, need formula for the loop
From: Laura Mollett
Date: Fri, 17 Mar 2000 01:36:34 GMT

Hi Ilia,
I haven't seen an answer to your question. Sorry if someone else already
answered. Also a quick note, please delete the rest of the digest when you
post to the list (and all unnecessary information).

You need something like:
Set Variable: "Counter" = 0
Loop While (Counter < 10)

> Begin Tell Target ("/mfirst")
You need the "/mfirst" variable to be something you can increment with
reference to the counter or another increasing variable... m1, m2 ... m10
would work fine. (You'll need to rename the instances of your mcs... I'm
sorry but I don't know of a way to increment them using the ordinals...
maybe someone else does.) So you'd have
Set Property ("/m" & Counter, X Position) = Random (400) + 50
etc.
> Set Property ("/mfirst", X Position) = Random ( 400 ) +50
> Set Property ("/mfirst", Y Position) = Random (400 )+5
> Set Property ("/mfirst", X Scale) = Random ( 700 ) +5
> Set Property ("/mfirst", Y Scale) = Random (100 ) +5
> Set Property ("/mfirst", Rotation) = Random ( 355 ) +5
Then
Set Variable: "Counter" = Counter + 1
End Loop

I dunno any Lingo, so I'm afraid I don't know how similar that is :)
hth,
Laura

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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