Support » Fixing WordPress » URL issue with SWF loading other SWF files

  • hi,

    I searched the forums and googled my problem but I can’t find any info about it.

    I have a flipping book in SWF format that a design company has given to me to be included in my client’s web site.
    This SWF loads 16 smaller swf files for every page and used to work fine in the older web site of my client which wasn’t WP-based. And here is why :

    It seems that in WP the URLs of the 16 swf files and some XML files are being relative to the URL of the page holding the flipping book.

    My directory structure is like this :
    wwwroot\WP installation on the root
    wwwroot\wp-content\themes\mag-num
    wwwroot\wp-content\themes\mag-num\mag1 to mag9 => (9 magazines)

    for magazine #9 :
    wwwroot\wp-content\themes\mag-num\mag9\index.swf => main file
    wwwroot\wp-content\themes\mag-num\mag9\data => 16 swf + xml files

    So let’s suppose I have a page I access through :
    http://www.mydomain.com/magazine/current-mag/2010/11/mag-9

    I add the html tag for my flipping book and I use the full URL of the website for its src => http://www.mydomain.com/wp-content/themes/tdm/mag-num/mag9/index.swf

    When I display the page and check what firebugs is detecting, I find the index.swf is looking for the 16 other swf and the xml files from this URL:
    http://www.mydomain.com/wp-content/themes/tdm/mag-num/mag9/data/p17.swf
    http://www.mydomain.com/wp-content/themes/tdm/mag-num/mag9/data/texts.xml

    etc etc.

    So finally the SWF isn’t fully loading, I juste see what is in the index.swf but it stops there since it doesn’t find the rest of the files.

    I guess htaccess has something to do with this issue, but I didn’t find a way to correct it.

    How can this be solved please ?

    Thanks in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘URL issue with SWF loading other SWF files’ is closed to new replies.