Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Feb 2006
    Posts
    168
    Thanks
    32
    Thanked 1 Time in 1 Post

    complicated issue with loading swf into a wordpress page.

    I have a very complicated situation and iv tried endless approaches.

    ok, I have a swf file that loads external mp4 videos. a external txt doc tells the flash file the list of videos. that way I can add/remove videos without editing the flash all of the time. I just need to update the txt file.

    The txt file, swf file and videos are all in 1 folder on the server.

    when tested in its own html page, it all works fine. the videos play. if I update the txt doc, the new info is properly displayed in the swf.

    here is the problem, I have to embed this swf into a wordpress page ( home.php) and it loads the swf fine but.... the swf stops interacting with the txt doc. no videos get called in.

    I really don't know why that happens. I mean the swf,txt doc and videos are all in their own folder but when you call the swf into wordpress, it stops working.

    I have been using the standard object embed tag ( like you see with youtube videos) and it just wont work. the flash file does come up on the page but no videos will load because it stops interacting with the txt doc.

    my alternative was to call it in with an iframe but that had its own issues ( the txt doc updates wouldn't refresh, when the wordpress site got refreshed). I wont even bother with the iframe approach for that reason.

    Im really stuck here on a way to embed this swf in wordpress and the swf will still call its txt info.
    Last edited by gribbs100; 01-26-2010 at 01:02 AM.

  • #2
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Most probably a paths issue. Can you post a link to the wp page that has the swf embedded?
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher

  • #3
    Regular Coder
    Join Date
    Feb 2006
    Posts
    168
    Thanks
    32
    Thanked 1 Time in 1 Post
    Thanks. When you mentioned paths, I double checked mine. You were right.

    Apparently, for some reason, in my flash movie I had to use the absolute path when calling the txt doc (the full url) even thought the txt doc was in the same directory as the swf on the server. those files were all together but the actual wordpress page was in a different directory. all in all, I got it working.

    thanks

  • #4
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Ah nice one
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •