Hi,
I know IE and Firefox work differently but is there any way around this problem:
I have the Flash code below and I call script to change the Flash src so a different flash is shown. The problem is in Firefox this works and in IE I get an error stating “moviesrc2” is null or not an object. This works fine in FF. Any ideas?
<object id=”FlashID” classid=”clsid?27CDB6E-AE6D-11cf-96B8-444553540000″ width=”740″ height=”424″>
<param id=”moviesrc1″ name=”movie” value=”../../flash/world.swf”>
<param name=”quality” value=”high”>
<param name=”wmode” value=”opaque”>
<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=”../../Scripts/expressInstall.swf”>
<!– Next object tag is for non-IE browsers. So hide it from IE using IECC. –>
<!–[if !IE]>–>
[B]<object name=”moviesrc2″ id=”moviesrc2″
<!–<![endif]–>
<param name=”quality” value=”high”>
<param name=”wmode” value=”opaque”>
<param name=”swfversion” value=”6.0.65.0″>
<param name=”expressinstall” value=”../../Scripts/expressInstall.swf”>
<!– The browser displays the following alternative content for users with Flash Player 6.0 and older. –>
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href=”
</div>
<!–[if !IE]>–>
</object>
<!–<![endif]–>
</object>