I have a .swf embedded in an html document and would like to pass it a string 
variable from the browser when the page loads. I can't seem to get the 
reference to the .swf even with 'document.getElementById("menuprime")' (I hope 
to use the SetVariable(varname, varvalue) command after I can reference the 
embedded .swf with javascript. I try to do this using something like:


document.getElementById("menuprime").SetVariable("mymsg", "hello"); 

but no luck.   

this is the html ...

***************************************************************************
<object id="menuprime" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0";
 width="253" height="545" >

      <param name="movie" value="flash/menuprime.swf" />
      <param name="quality" value="high" />
     
      <embed src="flash/menuprime.swf" quality="high" 
pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
 type="application/x-shockwave-flash" width="253" height="545"></embed>
    </object>

*********************AS2 FlashCS3  in Firefox, ********************************
****************Dreamweaver CS3

This is likely something obvious but I am just not able to see it right now...
Thanks for any advice.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to