Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: Someone PLEASE help me with Random Variables |
| From: | Branden J. Hall |
| Date: | Tue, 8 Feb 2000 17:56:56 GMT |
You need to use an eval statement.. you were building the string correctly,
but not finding the actual value of that variables.
Set Variable: "text" = eval("quote"&n)
-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software
-----Original Message-----
From: owner
Lamont
Sent: Tuesday, February 08, 2000 11:23 AM
To: flasher
Subject: FLASH: Someone PLEASE help me with Random Variables
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?
�arah
--
............................................................................
................
....the truth lies in between the 1st and the 40th drink....
....tori amos....
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 help
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 help
Replies
FLASH: Someone PLEASE help me with Rando, Sarah Lamont
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

