Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Javascript variable setting |
From: | Matthew Buchanan |
Date: | Fri, 12 May 2000 03:32:31 +0100 |
> I haven't been clear. I know very well how to load variables from txt and
> asp files as I have done it many times. What I want to do is this:
> I am building "online quizzes"
How bout just sending the variable in a query string when you
call the Flash movie? This solution is simple and works with
all browsers, unlike FS Commands, JavaScript, etc...
<embed src="quiz.swf?quiznum=5" etc...>
The above line sets a variable in quiz.swf called "quiznum" to a
value of "5". You could use ASP or similar to generate the HTML
page containing the URLs, or use JavaScript's document.write()
method to alter the HTML (this method is less compatible,
though...)
Matt
Matthew Buchanan http://www.webmedia.co.nz 649.377.7910
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]