Flasher Archive

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


Subject: Re: FLASH: Variable question
From: Nathan Dicken
Date: Tue, 21 Sep 1999 16:00:04 +0100

Hi Anik,

If you can have a .txt file generated somehow than you could use the Load
Variables command to pull the variables into your Flash file whenever you
need them. Otherwise, you could use the "SetVariable" FSCommand to set
variables in your Flash file.

For example, if the variable you want to set to "ok" is named "test", your
html could look like this...

function flashfile_DoFSCommand(command, args) {
var flashfileObj = InternetExplorer ? flashfile : document.flashfile;

if (command=="loadVariables") {
flashfileObj.SetVariable('test','ok');
}
}

Nathan

--------------------------------------
Nathan Dicken
Fusionary Media
http://www.fusionary.com



>Hello !
>
>I'm looking for a way for my flash animation to pick up values from its
>HTML file (am I clear ? Hmm, let's try again...)
>Basically, our web-server (4D) sends a HTML file which contains my .swf
>AND variables.
>How can I tell my .swf to search its HTML container for these variables
>? With the "load variables" method ? :( ???
>
>And by the way, is there a list of the new (I *guess* there are some!)
>FS commands for Flash 4 ???
>
>And, finally, can anyone understand my poor english ? ;)
>
>Thanx a lot,
>ANik =:)
>
>------------------------------------------------------------------------
>To UNSUBSCRIBE send: unsubscribe flasher in the body of an
>email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
>N.B. Email address must be the same as the one you used to subscribe.
>For info on digest mode send: info flasher to list-manageratchinwag [dot] com



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


Replies
  FLASH: Variable question, Anik Rigaud

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