Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorvsoft
    • CommentTimeMay 18th 2007 edited
     
    Hello Friends,

    I have setup a wordpress blog at www.dietzlawfirm.com/blog/ The flash header is visible on the blog MAIN page but it does not work in blog inner pages. Here is my problem:

    1] I have uploaded flash_main_01.swf to BOTH www.dietzlawfirm.com/blog/ AND www.dietzlawfirm.com
    The following code displays flash header at www.dietzlawfirm.com/blog/

    <td width="100%" background="http://www.dietzlawfirm.com/images/image_back.gif">

    <div id="flashcontent">
    <img border="0" src="http://www.dietzlawfirm.com/images/image_main_01.jpg" width="500" height="100"></div>
    <script type="text/javascript">
    var so = new SWFObject("flash_main_01.swf", "themeart", "590", "100", "6", "#507DA7");
    so.write("flashcontent");</script>
    </td>

    2] The above-mentioned code does not display flash header when I go to http://www.dietzlawfirm.com/blog/2007/05/17/test-post-4/ or http://www.dietzlawfirm.com/blog/category/uncategorized/

    3] Even if I use following code [specifying full path to flash_main_01.swf] it does not work. Why?

    var so = new SWFObject("http://www.dietzlawfirm.com/flash_main_01.swf", "themeart", "590", "100", "6", "#507DA7");

    OR

    var so = new SWFObject("http://www.dietzlawfirm.com/blog/flash_main_01.swf", "themeart", "590", "100", "6", "#507DA7");

    I think the problem is that the flash file flash_main_01.swf is being searched for in current location [i.e. http://www.dietzlawfirm.com/blog/2007/05/17/test-post-4/ or http://www.dietzlawfirm.com/blog/category/uncategorized/] and therefore its not working for http://www.dietzlawfirm.com/blog/2007/05/17/test-post-4/ or http://www.dietzlawfirm.com/blog/category/uncategorized/
    but works for http://www.dietzlawfirm.com/blog/

    This is urgent. I have to get it working within 24 hours. Please help. Any help is deeply appreciated.
    • CommentAuthorphilip
    • CommentTimeMay 18th 2007
     
    try using a site-root relative path.

    absolute:
    http://www.dietzlawfirm.com/swf/flash_main_01.swf

    relative:
    ../swf/flash_main_01.swf

    site-relative:
    /swf/flash_main_01.swf

    it usually works best for me when i'm having path issues. i've done this with my personal Wordpress installation, too.

    - philip
    • CommentAuthorvsoft
    • CommentTimeMay 18th 2007
     
    I tried using a relative path as well as a site-relative path ... it isn't showing the flash header. Any other suggestions please.
    • CommentAuthorphilip
    • CommentTimeMay 18th 2007
     
    i just clicked your links and ALL of them show a flash movie at the top of the screen (the blue one with the animated squares)... they just don't show the skyline photo.

    i tested in WinXP IE6 and FF2.

    i'm suspecting the problem is not the path to your Flash SWF, but the path to your images that load within the Flash SWF. if you have the SWF set to load external images, you need to make sure that the external image's filepath is set to absolute (http://blahblah) or site-relative, as i described earlier.
    • CommentAuthorvsoft
    • CommentTimeMay 18th 2007 edited
     
    Thanks for your help Philip.
    • CommentAuthorphilip
    • CommentTimeMay 18th 2007
     
    When I right-click it shows the Flash context menu...