Just another tech site

Supose you developpe a FLASH loader that calls a new FLASH (swf) in the browser.
Well the behaviour depends on the browser you’ve got

In the Flash, ActionScript

<pre>loadMovie("products.swf",_root.dropZone);</pre>

here is the Javascript trick

<object id="Object1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="998" height="515">
    <param name="movie" value="flash/Preloader_images.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="allowScriptAccess" value="always" />
    <param name="swfversion" value="6.0.65.0" />

    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
    <param name="expressinstall" value="js/expressInstall.swf" />

    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash/Preloader_images.swf" width="998" height="515">
    <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <param name="allowScriptAccess" value="always" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="js/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div id="Div1">
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <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" width="112" height="33" /></a></p>
            </div>
        <!--[if !IE]>-->
        </object>
    <!--<![endif]-->
</object>

Leave a comment