A Flash Developer Resource Site

Results 1 to 17 of 17

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

Hybrid View

  1. #1
    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.

  2. #2
    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.

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