Forums

How to embed .swf file that loads content from .xml file (3 posts)

  1. aeonx
    Member
    Posted 6 months ago #

    I found many people trying to embed a swf that is loading content from a xml file and cant get to work. The .swf file itself in the browser its looking good (http://www.example.com/file.swf) and also on a html file (http://www.example.com/embed_swf.html) but embeding it on a wordpress page fails.
    Probably the best solution for this is the most simple one.
    If you locate your .swf file in http://www.yoursite.com/wp-content/uploads/ or other folder that is not the root directory. It wont work because the xml file is trying to load the content from the root directory, this is where your index.php file is located. So your .swf file could be wherever you want but itll still call for the xml file in the root directory so the xml file needs to be there. And the xml file would probably call for image files in the root directory too, so your image folder needs to be there to.

  2. sakthidasan
    Member
    Posted 5 months ago #

    Thank you so much.. I have wasted almost a whole day to fix the problem.. After seeing your post.. Its a matter of seconds... Thank you so much... I could have checked here first..!!

  3. aeonx
    Member
    Posted 5 months ago #

    ;)

Reply

You must log in to post.

About this Topic