flash invisible in firefox
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: flash invisible in firefox

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    10

    flash invisible in firefox

    I have a web site with a little flash component. It is referenced by an html file I have written with a little help from Dreamweaver. The deal is that when the page comes up in IE, or Chrome, the flash component works fine but it is invisible in Firefox. Can you help? This video shows what I mean
    https://www.youtube.com/watch?v=_8fFb5zo-Q8

  2. #2
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    785
    Hi,

    You have this code on the swf first frame
    PHP Code:
    ifFrameLoaded(31)
    {
        
    gotoAndStop(2);

    remove and replace it with this code
    PHP Code:
    stop();

    LoadedBytes Math.round(this.getBytesLoaded());
    TotalBytes Math.round(this.getBytesTotal());
    if (
    LoadedBytes == TotalBytes)
    {
        
    this.gotoAndPlay(2);

    the way some browsers read flash is slightly different, obviously it is stopping on frame 2 with firefox and therefore not playing any further along the timeline and not showing the animation.

    you might also want to put the classid back inside the object tag classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com