flash代码问题
Response.Write " <object classid= " "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 " " codebase= " "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 " " width= " "460 " " height= " "320 " "> " & vbCrLf
Response.Write " <param name= " "movie " " value= " "/adtopic.swf " "> " & vbCrLf
Response.Write " <param name= " "FlashVars " " value= " "vcastr_file= " " " & sR( "previewImg ") & " " " " " > " & vbCrLf
Response.Write " <embed src= " "adopic.swf? " " FlashVars= " "vcastr_file= " " " & sR( "previewImg ") & " " " " " quality= " "high " " pluginspage= " "http://www.macromedia.com/go/getflashplayer " " type= " "application/x-shockwave-flash " " width= " "240 " " height= " "180 " "> " & vbCrLf
Response.Write " </embed> " & vbCrLf
Response.Write " </object> " & vbCrLf
这样写对不对啊,我调用后出现
<object classid= "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 " codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 " width= "460 " height= "320 ">
<param name= "movie " value= "/adtopic.swf ">
<param name= "FlashVars " value= "vcastr_file= "/flv/sunli.flv " " >
<embed src= "adopic.swf? " FlashVars= "vcastr_file= "/flv/sunli.flv " " quality= "high " pluginspage= "http://www.macromedia.com/go/getflashplayer " type= "application/x-shockwave-flash " width= "240 " height= "180 ">
</embed>
</object>
FlashVars= "vcastr_file= "/flv/sunli.flv " " 这里会多出个引号不能播放,删掉引号后程序又会报错,应该怎么改啊
------解决方案--------------------改单引号.
------解决方案--------------------FlashVars= "vcastr_file=/flv/sunli.flv "
多了 2个引号 影响到了别的地方 你用editplus看看也好呀