A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash in IE 9 but not in IE 11

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

    Flash in IE 9 but not in IE 11

    Hello Forum,

    I am using a small flash object in the index page of www.gelsana.com. It appears on one computer using IE 9 but not on another computer using IE 11. I first thought it might be an issue with a virus, but I ran a couple of anti-virus programs and I still have the issue on the computer using IE 11. Any advice?

  2. #2
    Junior Member
    Join Date
    Sep 2009
    Posts
    10
    I used Dreamweaver to create a test html file with proper settings for the swf and this worked and I was able to have a IE 11 browser bring up the content. So the problem is fixed for IE and for Chrome, but it does not work with firefox.

  3. #3
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    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