flash地址是  http://yyzw.cn/ttt/t.swf  用迅雷可以弄下来

解决方案 »

  1.   

    <script>
        function f_change(){
        
        var str1="";
        var pic2="pURL=2.jpg";
        str1='<div id="div1"> <OBJECT id=oflash classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';
        str1=str1+' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"';
        str1=str1+' style="WIDTH: 450px; HEIGHT: 450px;Border:1px"  VIEWASTEXT allowscriptaccess="always" swLiveConnect="true">';
        str1=str1+' <PARAM NAME="movie" VALUE="t.swf">';
        str1=str1+'  <PARAM NAME="quality" VALUE="high">';
        str1=str1+'  <PARAM  NAME="FlashVars" id="FlashVars" VALUE="'+pic2+'">';
        str1=str1+'</OBJECT></div>'
        document.all.div1.innerHTML=str1;
        alert(str1);
    //document.all("oflash").SetVariable("FlashVars","pURL=2.jpg")  
        }
    </script>          
     <div id="div1">    
    <OBJECT id=oflash classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" 
     style="WIDTH: 450px; HEIGHT: 450px;Border:1px"  VIEWASTEXT allowscriptaccess="always" swLiveConnect="true">
          <PARAM NAME="movie" VALUE="t.swf">
          <PARAM NAME="quality" VALUE="high">
           <PARAM  NAME="FlashVars" id="FlashVars" VALUE="pURL=1.jpg">
    </OBJECT>
    </div><br>
    <button onclick="javascript:f_change()" ID=Button1>改变</button>