Flasher Archive

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


Subject: Re: FLASH: Someone PLEASE help me with Random Variables
From: 2Nerotik
Date: Tue, 8 Feb 2000 17:45:24 GMT

Remember using Random(5) will return these numbers 0 1 2 3 4 NOT 1 2 3 4 5

Random(5)+1 will correct this, other than that you aren't too clear on what
the exact problem is.

Only other question I have is, are you loading ALL the quotes and then
selecting a random one ?

At 11:22 AM 08/02/2000 -0500, Sarah Lamont wrote:
>Somebody Please help me -
>
>I don't understand why this isn't working and I'm going *insane*.
>I'm trying to grab a random quote from a text file and insert it into a
>flash file. I have a text file (quotes.txt) set up with five quotes,
>each one is quote1, quote2, etc.
>I load the variables into my swf. from quotes.txt.
>I set these variables:
>Set Variable: "n" = Random (5)
>Set Variable: "text" = "quote"&n
>The text box I want the quotes to show up in is called "text".
>Please please please, what the heck am I doing wrong?

.oOo.
|| Ever stop to think and forget to start again ?
||
|| 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


Replies
  FLASH: Someone PLEASE help me with Rando, Sarah Lamont

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