How to embed swf file that loads content from xml file
-
Hi All,
I have been trying to embed an xml driven swf file into my WordPress page and it’s not showing upI have bought an interactive Video/Image Gallery online. The downloaded folder came with main files as all source files. I do have some knowledge of working with Flash but not so much with Actionscript. This Gallery came with an external xml file which I could replace the images and videos and have it played.
The swf works fine from my computer as well as directly from an html page. Here is the link to where the swf is directly uploaded and works in an html environment (“wp-content/uploads/…” folder)
I uploaded all of the loading contents as it was instructed by the designer in the same order it was instructed, and to be on the safe side, I uploaded the rest of the files (the whole folder as it sits on my hard drive).
Then I embedded this swf into my WordPress page using this code:
<object style="width: 590px; height: 300px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="590" height="300" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="src" value="https://envisionadvertising.com/wp-content/uploads/2009/swfs/vidGal1/bin-debug/Main.swf" /> <embed style="width: 590px; height: 300px;" type="application/x-shockwave-flash" width="590" height="300" src="https://envisionadvertising.com/wp-content/uploads/2009/swfs/vidGal1/bin-debug/Main.swf" scale="noscale" quality="high"></embed> </object>
And it’s not working in my WordPress page. The swf file loades but not the content. Here is the link to WordPress page with embedded swf…
The embed code I’m using is the same one I’ve been using for all my WordPress pages and it always works. The only difference this time is that: this swf is not independent and all images and videos are not embedded within the file, they’re pulled up from an attached source folder and there are several Actionscript files that are also included within the folder.
I have included a quick snapshot of the folder with the instructed files for upload here.
I have also included a Tree of Folders and Subfolders in a word format here. (which BTW I have uploaded all of these files along with the main files just to be on the safe sideIs there any difference? What am I doing wrong or what am I missing? PLEASE HELP!
- The topic ‘How to embed swf file that loads content from xml file’ is closed to new replies.