PDA

View Full Version : Ie Won't Autoload My Movie


ren_aldo
12-01-2008, 11:16 AM
Hi ALL!

For some reason my flash movie won't start in IE:
www.ebaydesigner.co.uk /r_mac.

I have fine tooth combed the dreamweaver code and for the life of me cannot see the problem. If you right click on the flash movie then hit 'play' it will start but never does automatically. It has a preloader that plays the movie from the second frame once loading is complete in the first. Does this mean the actionscript is written incorrectly (as it works fine in EVERY other browser)?!?!

Here is the actionscript use for the preloader written on frame one of actions layer:

stop();

this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);

function onProgress (e:ProgressEvent):void
{
var loaded:Number = e.target.bytesLoaded;
var total:Number = e.target.bytesTotal;
var pct:Number = loaded/total;
loadedTxt.text = "Loading..."+(Math.round(pct*100));
}

function onComplete(e:Event):void
{
gotoAndPlay(2);
}



Here is the dreamweaver embedded code:

<object id="FlashID" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="815" height="194">
<param name="movie" value="flash/homepage_movie.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]>-->
<object type="application/x-shockwave-flash" data="flash/homepage_movie.swf" width="815" height="194">
<!--<![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 ="link to ADOBE SITE"><img src="Link to ADOBE SITE" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>


Any help would be most appreciated, many thanks

ren_aldo

p.s. apologies if this the wrong place to post this problem, i am new to the forum and thought seeing as this was coded in AS3, this would be the right place to post.

Paul Ferrie
12-01-2008, 12:01 PM
Works fine for me

ren_aldo
12-01-2008, 01:28 PM
oh really?! Wow....erm im stuck now then! I have to right click and select 'play' before the movie plays in IE. Was it IE that you tried it in?

ren_aldo
12-01-2008, 01:30 PM
omg.....just tried it your right!!! I swear it did'nt work yesterday and early this morning no matter how many times i tested it...ah well, thanx anyway paul

;-)

Paul Ferrie
12-01-2008, 01:31 PM
omg.....just tried it your right!!! I swear it did'nt work yesterday and early this morning no matter how many times i tested it...ah well, thanx anyway paul

;-)

Ha ha no problem buddy