yaron89
asked on
set flash movie embed object path from javascript var.
In Html page I have javascript variable named as "gameFile" that contain swf path.
How can I set the following embed flash movie code to this javascript Var?
I need to replace the "test.swf" with "gameFile" var..
I do not have ID for "gameFile".
How can I set the following embed flash movie code to this javascript Var?
I need to replace the "test.swf" with "gameFile" var..
I do not have ID for "gameFile".
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="640" height="480">
<param name="movie" value="test.swf">
<param name="quality" value="High">
<embed src="test.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="640" height="480"></object>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER