网页中插入flash,并传递参数

< objectclassid = " clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 " codebase = " http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 " width = " 335 " height = " 310 " id = " myFlash " align = " middle " >
< paramname = " allowScriptAccess " value = " sameDomain " />
< paramname = " movie " value = " flvplay.swf " />
< paramname = " quality " value = " high " />
< paramname = " bgcolor " value = " #ffffff " />
< embedsrc = " flvplay.swf " quality = " high " bgcolor = " #ffffff " width = " 335 " height = " 310 " name = " myFlash " swliveconnect = " true " align = " middle " allowscriptaccess = " sameDomain " type = " application/x-shockwave-flash " pluginspage = " http://www.macromedia.com/go/getflashplayer " />
</ object >

< scriptlanguage = " javascript " >
window.document.myFlash.SetVariable(
" videoname " , " <%=rs( " videoname " )%> " );
window.document.myFlash.SetVariable(
" path " , " <%=rs( " path " )%> " );
</ script >

你可能感兴趣的:(JavaScript,Flash,Go)