A Flash Developer Resource Site

Results 1 to 17 of 17

Thread: Same flash movie.. different in IE and FF?

Hybrid View

  1. #1
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247

    Same flash movie.. different in IE and FF?

    Right, so I'm making a little flash banner thing for my company's website and basically it has three 'sections' - each section has a different product/service that we're promoting. The user will rollover the buttons for these three sections and the new banners will come up. In addition, when the user just gets to the page, the banner will pick a RANDOM page to show from one of the three.

    This behavior works perfectly in MSIE 6.0 but in Firefox 1.5 the random-page thing doesn't work. What it does instead is if it picks the first page to come up (you can tell by which button is 'up') then the first page will come up (that's fine) - if it generates that the second page should come up then the FIRST page still comes up; and if it generates for the third page to come up then the SECOND page comes up. The third page will never randomly appear in FF so far. The rollovers work fine in both browsers, but this random page thing is just confusing me.

    This is really strange also because it's the same software displaying the flash movie - it's not like it has two different versions of flash player or that it's using different players altogether - it's exactly the same! How can it show two different things?! Sigh.

    Any help is appreciated,
    thanks in advance.

    PS. The website I'm making, where you can see this flash in action is http://infoconsol.tuxtank.com/ - it's the only flash there.

  2. #2
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    Can you post HOW you are choosing the random scene to jump to?
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  3. #3
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Quote Originally Posted by jasonsplace
    Can you post HOW you are choosing the random scene to jump to?
    Code:
    startpage = Math.round(Math.random()*2)+1;
    if (startpage == 1) {
    	_root.currentup = "b1";
    	_root.gotoAndPlay("sec1");
    	_root.b1.gotoAndStop(18);
    } else if (startpage == 2) {
    	_root.currentup = "b2";
    	_root.gotoAndPlay("sec2");
    	_root.b2.gotoAndStop(18);
    } else if (startpage == 3) {
    	_root.currentup = "b3";
    	_root.gotoAndPlay(62); // This used to be "sec3" but it didn't go to the frame that was clearly labelled "sec3"? So I changed this one to the frame number.
    	_root.b3.gotoAndStop(18);
    }
    the "_root.currentup" variable determines which button is currently in the 'up' state so the other ones will fall down if they are [going] up - don't mind it.

  4. #4
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Bump.

  5. #5
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Is there no solution out there? There has to be something I can do, I don't want firefox users to get a second-rate banner and internet explorer users to get one that works fine (if anything, internet explorer users should suffer ) but anywho...

    Bump!

  6. #6
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Bump. Honestly - no one has any idea?

  7. #7
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    There's nothing about your code that seems wrong, though it's not working at all for me in IE. You should really consider using SWFObject or another javascript method to embed the Flash movie. You should also make sure both browsers you're testing with have the same version of the plug-in.

  8. #8
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    won't load for me in ie either
    Evolve Designs Interactive Media
    the natural selection

  9. #9
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    They do have the same version (the two browsers), and it used to have the same glitch even before I changed the method it was embedded with. The method I used now was mentioned on some site to help make it valid XHTML transitional.

  10. #10
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Bump. again.

  11. #11
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    It doesn't show up for me in IE either. You really need to change your code to embed the video. It doesn't really matter if it's valid XHTML if it doesn't work the way that it's supposed too. Use SWF Object and everything should be fine. I've refreshed the file a few times here and it's jumped to different places in the Flash.
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  12. #12
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    I don't think you're understanding the problem... When you put your mouse over the buttons it works fine but when you JUST enter the page without putting your mouse over anything it should pick one of the three pages randomly and go to it. This doesn't happen properly in firefox as when it shows the middle button up initially it's actually at the left button's page, and the right button shows the middle button's page. AFTER you mouseover it, it works properly. I will change the embed code but the same problem occurs for me EVEN when i can see the flash movie "properly" embedded into the page.

  13. #13
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    When I load it in Firefox it was randomly going to the different pages and I didn't mouseover any buttons.
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  14. #14
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Did it get to ALL THREE different pages this way?


  15. #15
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    It didn't. Can you post the FLA or at least an FLA that is having this problem? Youu could do that or e-mail it to me at jwright [at] jasonlwright [dot] com and i'll take a look at it.
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  16. #16
    aka Arcanimus
    Join Date
    Dec 2002
    Posts
    247
    Sure, here it is.

    http://infoconsol.tuxtank.com/promotional.fla

    Thanks in advance.

  17. #17
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    Thank you. I've downloaded and started playing with it. I'll let you know what I find.
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

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