Skip navigation
Currently Being Moderated

SWFObject Problems: Please help =).

Dec 3, 2011 2:58 PM

Hello all,

 

I am trying to get a swf file to load in to a page: it loads the main swf file but all the external files do not load with it so you end up with something that looks like: http://www.taraziems.com/lookbook when it should look like:

http://www.creativegiant.com.au/tziems/3dbook/3dbook.swf

 

At first I thought it might be a problem with putting the swf file in to a div table, however it worked when I used dreamweavers default swfobject: http://www.creativegiant.com.au/tziems/3dbook/index.html

 

 

The script I am using to load the file in the orginal url ( http://www.taraziems.com/lookbook ) is below:

 

 

<script type="text/javascript" src="http://www.creativegiant.com.au/tziems/3dbook/Scripts/swfobject_modifi ed.js"></script>

<script type="text/javascript">

               var flashvars = {};

               flashvars.folderPath = "http://www.creativegiant.com.au/tziems/3dbook/";

               var params = {};

               params.scale = "noscale";

               params.salign = "tl";

               params.wmode = "obaque";

               var attributes = {};

       swfobject.embedSWF("http://www.creativegiant.com.au/tziems/3dbook/3dbook.swf", "Banner", "902", "600", "9.0.0", false, flashvars, params, attributes);

</script>

 

 

<div id="Banner">

                                       <a href="http://www.adobe.com/go/getflashplayer">

                                               <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g if" alt="Get Adobe Flash player" />

                                       </a>

                         </div>

 

 

as you can see it finds the SWF file but the associated jpgs, xmls, etc do not load with it :/

I think it may have something to do with loading it over a url, rather than on the local server the website is on.

 

I cannot upload the files to the localserver since I am using a web based CMS that doesn't allow the uploading of images ( that is why I have to load them on my external website ).

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points