Boyd,
I think if you look up and use "SWFObject", you can accomplish this, or "ASFunction" or maybe a mixture of both.
I thinking "ASFunction" would be better suited for what your needing.
Without doing more research I am guessing at which would be the exact way,
but hopefully pointing you in the right direction.

I made the names links for convenience,
but those are just one of the resources out there.

HTH,

Karl


On Aug 16, 2009, at 5:49 PM, BOYD SPEER wrote:

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

Reply via email to