Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading javascript variable using flash

Status
Not open for further replies.

seanbo

Programmer
Jun 6, 2003
407
GB
Is there a way a can set a variable using javascript...

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
VAR myVar=&quot;value&quot;;
</SCRIPT>

...then read it in a swf that exists in the same page? i want to be able to do this without referencing the swf from the javascript.

____________________________________________________
If you like a post, show you care by giving it a <censored>.
 

Or using Flash methods?


Regards,

cubalibre2.gif
 
thanks. i can see how to call a javascript function using fscommand. how do i give the javascript function a return value?

____________________________________________________
If you like a post, show you care by giving it a <censored>.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top