Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Getting Variables from JavaScript to Flash |
From: | Anik Rigaud |
Date: | Fri, 19 Nov 1999 10:09:38 GMT |
(snip)
> Ok, I got it working so that I can not put the variables into Flash,
> took at look a Colin Moocks site and figured it out mostly.
(snip)
I think I handled a quite similar problem, but in JScript.
Note : the example is for a GetVariable action, but it should give you
some hints (I think). Note also that in this case the variable I'm
looking for is on _level3 of the Flash object.
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function MyFlashMovie_DoFSCommand(command, args) {
var MyFlashMovieObj = InternetExplorer ? MyFlashMovie :
document.MyFlashMovie;
if(command=="MyFSCommand")
{
var MyJScriptVariable =
MyFlashMovieObj.GetVariable('_level3:MyFlashVariable');
}
}
Anik =:)
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]