Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
SWF in IE only works locally
Old 02-07-2010, 09:04 AM SWF in IE only works locally
Junior Talker

Posts: 1
Name: Tony
Trades: 0
Hello,

I'm trying to embed swf into a webpage. When viewed locally the site works (after I've allowed IE to "Allow blocked content"). However, when I upload all the files to the server, it doesn't show. Although it does work with other browsers.

The site is www.crocodilephotgraphy.co.uk

The code I've used is:

<script type="text/javascript" src="VT/Presentationslot/swfobject.js"></script>
<div id="flashcontent" class="container">
To view virtual tour properly, Flash Player 9.0.28 or later version is needed.
Please download the latest version of <a href="http://www.adobe.com/go/getflashplayer" target="_blank">Flash Player</a> and install it on your computer.
</div>

<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("VT/Presentationslot/twviewer.swf", "sotester", "600", "150", "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", "resources/presentation_bg-loading.jpg");
so.addVariable("lwBgColor", "255,255,255,255");
so.addVariable("lwBarBgColor", "255,255,255,255");
so.addVariable("lwBarColor", "255,51,153,255");
so.addVariable("lwBarBounds", "225,138,365,5");
so.addVariable("lwlocation", "0");
so.addVariable("lwShowLoadingPercent", "true");
so.addVariable("lwTextColor", "255,0,0,0");
so.addVariable("iniFile", "config_Presentation.bin");
so.addVariable("progressType", "0");
so.addVariable("swfFile", "");
so.addVariable("href", location.href);
so.write("flashcontent");
// ]]>
</script>

Please can someone help.
Thank you
tjsantos is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-07-2010, 01:09 PM Re: SWF in IE only works locally
Experienced Talker

Posts: 43
Trades: 0
So just to make sure, when uploaded to your server the SFW file shows not in IE but it does in other browsers like FF?
If that's the problem, can you give the link of the page where the SFW is embedded cause i visited your website but it has a lot of embedded SFW files so i have no idea which SFW you mean.
TheSir is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to SWF in IE only works locally
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21034 seconds with 12 queries