1
I have a swf file and I can’t in any way put it on a page. I’ve tried every way and it doesn’t work. The problem is that this swf is a virtual tour and the customer wants it because they want 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>
Could post the code you already tested?
– Denis Rudnei de Souza
I edited the above question with the code!
– Bruno Cesar
Describe which environment doesn’t work. Is it windows, linux, mac, Ios, android? Which flash version? Which player and browser versatile?
– Daniel Omine
I believe the @leonardopessoa response should help you
– Denis Rudnei de Souza