Flasher Archive

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


Subject: RE: FLASH: javascript
From: Tim Walters
Date: Thu, 9 Dec 1999 03:32:55 GMT

Rafael,

First, there's some prerequisites that must be met... something like the
following:
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
This global variable will tell the script if it should use IE code or
NetScape code, as in the following:
var FlashObj = InternetExplorer ? window.FlashObject :
window.document.FlashObject;
The above assumes that you have the following set:
In your <OBJECT> tag, there must be ID="FlashObject"
In your <EMBED> tag, there must be Name="FlashObject"

Once all the above is correct, you can use the following code:
FlashObj.SetVariable("/:VariableName", "String" );
FlashObj.SetVariable("/:AnotherVariable", varTimeString);

It's just the bare bones, have a play with it and see how you go.

Hope this helps!

---
Tim Walters MVP
Glasshouse101
Tim [dot] Waltersatglasshouse101 [dot] com [dot] au

> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Rafael
> Faria
> Sent: Thursday, 9 December 1999 5:34 AM
> To: flasheratchinwag [dot] com
> Subject: FLASH: javascript
>
>
> how can i setvariable from javascript?
>
> set.SetVariable("_level0/variable:name",Hours + ":" +
> Minutes + ":" +
> Seconds);
>
>
> Please...
> some one give me a light!
>
>
> thanks
>
>
> [ r a f a e l f a r i a ] _________
> ________ rafaelatflashworld [dot] com [dot] br
>
>
>
>
> 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 helpatchinwag [dot] com
>
>



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 helpatchinwag [dot] com


Replies
  RE: FLASH: javascript, Rafael Faria

Replies
  FLASH: javascript, Rafael Faria

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