Flasher Archive

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


Subject: RE: FLASH: Question for Math buffs
From: Tim Allan
Date: Tue, 21 Mar 2000 01:25:35 GMT

why not generate a number from 1 to 30 and multiply the result by 10

Tim

-----Original Message-----
From: 2Nerotik [2nerotikatnisa [dot] net (mailto:2nerotikatnisa [dot] net)]
Sent: Tuesday, 21 March 2000 12:13 PM
To: flasheratshocker [dot] com
Subject: FLASH: Question for Math buffs


Been playing around with the x-position and want to randomly
generate a number between 0-300... easy enough BUT
I only want every tenth number... ie 10 20 30 40 etc.

Now I know you could see if the number divides by 10 evenly, however
I just can't figure out how you would word this for the action script.

*G* I only got as far as
Loop While (???? move/10 ?????)
Set Variable: "move" = Random (300)
End Loop

Now I'm stumped, I figure this is really simple but you know how
it is when you're trying really hard to remember something and
you just draw a complete blank.

And no those questions marks are not really in the script, I just
put them there to show where I'm stumped at this point.

Thanks.


.oOo.
|| A day without sun shine is like, you know, night.
||
|| Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
|| Fontaholic ? ---> http://www.fontsanon.com
|| HTML Writers Guild ---> http://www.hwg.org

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

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


Replies
  FLASH: Re: delay - waiting for loadVari, Neal Cabage
  RE: FLASH: Question for Math buffs, 2Nerotik
  Re: FLASH: Question for Math buffs, oliver b�hm

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