Not signed in (Sign In)

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

    • CommentAuthormike86bg
    • CommentTimeNov 15th 2007
     
    So i use loadClip function to load different .swf in main main swf
    also i use xml file to build a menu in flash.
    All of this works here:
    http://78.90.42.244/itpbg/flash/main.swf
    but when i use swfobject by this way:

    <script type="text/javascript" src="flash/swfobject.js"></script>

    <script type="text/javascript">
    swfobject.embedSWF("flash/main.swf", "page_body", "800", "770", "9.0.0", "expressInstall.swf");
    </script>
    and

    <div id="page_body">
    <h1>Alternative content</h1>
    <p><a href="http://www.adobe.com/go/getflashplayer">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a></p>
    </div>

    the flash doesn't work the loaded swf and xml menu doesn't appeared
    here:
    http://78.90.42.244/itpbg/

    So any ideas why is this ?
    • CommentAuthorAran
    • CommentTimeNov 15th 2007
     
    Your links don't resove for me, so I don't know what is happening on your page. Can you post some working links?
    • CommentAuthormike86bg
    • CommentTimeNov 16th 2007
     
    My pc was shut down.

    So i fix the problem - it's not swfobject related. Just:

    "Concerning the loading of external data with the loadClip method, the Flash help (the one that shows up when you press F1 in Flash) states that "A relative path must be relative to the SWF file..." I found out that this is NOT the case. The path to the external file must be relative to the HTML file inside which your main SWF file is embedded!"

    This shorted my life with few hours :D