Problem with SWF

1

I have a swf file and I can not put it in a page at all. I've tried it anyway and it does not work .. the problem is that this swf is a virtual tour and the client wants it because he wants it ..

<script type="text/javascript"> 
// <![CDATA[ 
var so = new SWFObject("twviewer.swf", "sotester", "100%", "100%", "9.0.0", "#FFFFFF"); 
so.addParam("allowNetworking", "all"); 
so.addParam("allowScriptAccess", "always"); 
so.addParam("allowFullScreen", "true"); 
so.addParam("scale", "noscale"); 
//<!-%% Share Mode %%->
so.addVariable("lwImg", ""); 
so.addVariable("lwBgColor", "255,255,255,255"); 
so.addVariable("lwBarBgColor", "255,255,255,255"); 
so.addVariable("lwBarColor", "255,0,255,0"); 
so.addVariable("lwBarBounds", "160,180,480,8"); 
so.addVariable("lwlocation", "0"); 
so.addVariable("lwShowLoadingPercent", "true"); 
so.addVariable("lwTextColor", "255,0,0,0"); 
so.addVariable("iniFile", "config_Project36.bin"); 
so.addVariable("progressType", "0"); 
so.addVariable("swfFile", ""); 
so.addVariable("percentType", "0"); 
so.addVariable("sizeFile", "filesize.txt"); 
so.addVariable("href", location.href); 
so.write("flashcontent"); 
// ]]> 
</script> 
    
asked by anonymous 21.11.2016 / 20:43

1 answer

1

Have you ever tried pure HTML with the tag object ?

<object width="400" height="50" data="meu_flash.swf"></object>

link

    
22.11.2016 / 12:55