1. New Software Notice alert!

    The new Web Graphics Creator (version 4.0) will be out soon.

    For now, version 3.0 is still active and works great on most Windows machines. It no longer runs on Macs using Lion or greater... (but the new version will fix this)

    So hang in there! It's almost done!

Can you "call" the swf and asset file from another area?

Discussion in 'Web Graphics Creator' started by Sundance, May 25, 2008.

  1. Sundance

    Sundance

    Messages:
    4
    Trophy Points:
    0
    I am working with a PhP script and I have a spinning ecover on my front page. When a link is clicked on my site, I discovered that the spinning book image is not there. This is because the swf file and asset file are in a top level directory.

    The special code shows up in the new link (page) but the ecover is not there. Can't we just put a reference link to the swf and asset file from another directory to get the "movie" to play on a different page. Seems there would be a waist of space to copy both the swf and asset file to each page that the special code shows up on.

    Sundance :image10:
    Link to the problem:
    http://www.infoarea.us/jointventuretheblog/
     
  2. Chris_Houg

    Chris_Houg Staff Member

    Messages:
    464
    Trophy Points:
    16
    If the swf file is linked correctly, it should show up. I visited your site and when, for example, I clicked on comments, the URL in the address bar is showing up as:

    http://infoarea.us/jointventuretheblog/hello-world/#respond

    but when viewing the source, the location of the swf file is:

    <param name="movie" value="Six_Figure.swf">

    or the current directory, which isn't the correct location.

    You may want to try putting a backslash there so it looks like:

    <param name="movie" value="/Six_Figure.swf">

    If that doesn't work, just put the whole url to the file in there so it would be:

    <param name="movie" value="http://infoarea.us/Six_Figure.swf">

    When I clicked on your "About" and "Reviews" buttons at the top, I got an internal 500 server error. You'll have to check your server logs to see what is causing the error(s) but a common problem is in the .htaccess file.
     
  3. Sundance

    Sundance

    Messages:
    4
    Trophy Points:
    0
    Your correct it should work. The actual url would be "http://www.infoarea.us/jointventuretheblog/Six_Figure.swf".

    Using the above, the movie should be accessed from it's actual location which would be in the "jointventuretheblog" directory, but it only shows up on the first page. I am now trying to use the php "Include" function to get the same result, but no luck as of yet.

    I can't figure out why using the actual location URL is not working. May be it has to do with how wordpress compiles the actual code in the generator. In my mind it seems like wordpress generate a different web page and the swf file is not in that area when the HTML code is generated so naturally it cannot find the images.

    It's got me stumped!

    Sundance
     
  4. Sundance

    Sundance

    Messages:
    4
    Trophy Points:
    0
    I decided to make the buttons and ebook cover a gif file. I have spent way too much time trying to get the spinning book to work. I have a short time frame to get my blog up and this is taking more time than it's worth.

    If anyone can figure out why this will not work or better, how it can work on each and every page of a wordpress blog, please post your answer here so I can get the email sent to me. One day, I would like to have the spinning ebook and flash buttons on my sites.

    Sundance
     

Share This Page