Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Javascript variable setting |
From: | Helen Triolo |
Date: | Fri, 12 May 2000 03:24:42 +0100 |
Scott Jeppesen wrote:
>
> 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"
> All of them look the same so I want to use 1 swiff file. All of the text
> files are in one directory and therefore have different names. The
> Javascript variable I am setting is going to tell the Flash file which of
> those text files it is supposed to load. In the 1st frame of the movie it
> gets the Javascript variable...in the 5th frame it Loads the variables from
> the text file with that name. This will allow me to change one swiff and all
> of my exercises will change. It works perfect in IE. I just can't figure out
> why it isn't working in Netscape.
> Thanks.
>
OK, this may be another answer you're not looking for, but I just
wondered why you need javascript? Couldn't you just make the swf embed
and object tags send the info, like
<OBJECT ...>
<PARAM NAME="movie" VALUE="movie.swf?file=3" ...>
<EMBED SRC="movie.swf?file=3" ...>
</EMBED>
</OBJECT>
and use the file variable in your swf to access the right text file and
avoid javascript altogether? Or is something else getting the variable
and then passing it? Well, ignore this if it's not what you need!
Helen
----------------------------------------
helen triolo � http://i-technica.com
designeri-technica [dot] com � 301-424-6037
----------------------------------------
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
Replies
RE: FLASH: Javascript variable setting, Scott Jeppesen
Replies
RE: FLASH: Javascript variable setting, Scott Jeppesen
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]