Shihyen / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Movies don't play in Firefox 3 they stop loading at 30% #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Movies with loading script don't play but stop
2. Only in Firefox 3.0.3
3.

What is the expected output? What do you see instead?
Movies autoplay in all browsers except in Firefox 3.0.3, it stops loading
at 30%.

What version of the product are you using? On what operating system?
Swfobject 2, Vista, Firefox 3.0.3

Please provide any additional information below.

  <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="900" height="200">
    <param name="movie" value="intro.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.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="intro.swf"
width="900" height="200">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="9.0.45.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>
        <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>

Could it be a problem in AS?

Original issue reported on code.google.com by i...@omnicreatura.com on 4 Nov 2008 at 11:09

GoogleCodeExporter commented 9 years ago
That's the loading script i use.

// Import the required assets
import flash.display.*;

// Stop the playhead while loading occurs
this.stop();

//Create a listener to call the loading function as the movie loads
this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);

/* This is the main function, basically it grabs the total and loaded bytes,
calculates a percentage, and displays it by stretching the bar and adjusting
the textfield display. */
function PL_LOADING(event:ProgressEvent):void {
    var percent:Number=event.bytesLoaded/event.bytesTotal*100;
// Loading Bar progress
    mc_LBar.scaleX=percent/100;
// Display the % loaded in textfield
    LText.text=int(percent)+"%";
// Loading complete
    if(percent==100){
    this.gotoAndPlay("Start");
    }
}

Original comment by i...@omnicreatura.com on 4 Nov 2008 at 11:15

GoogleCodeExporter commented 9 years ago
This is an authoring issue, please resublit it in the discussion group:
http://groups.google.com/group/swfobject

Original comment by bobbyvandersluis on 4 Nov 2008 at 12:30