• 0

best preloader method for flash 6.0


Question

Hi...

Im making a very large .swf - which is likely to end up at about 1.00MB - but I have divided this into lots of seperate scenes...

I used to use a preloader symbol for the whole movie, but now I would like to have a preloader scene before each new scene... I was just wondering what is the best method for achieveing this - and what the actionscript would be....

Any help would be VERY much appreciated....

.:BaphomeT:.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

What i do in Flash 5 is to load up a graphic at the beggining of the scene -

What happens at the point when the scene gets to a certain point is THIS:

var percent = int(_framesloaded/_totalframes*100);

if (percent == 100) {

gotoAndPlay (32);

}

This is on frame 30 and in the next frame i have (frame 31):

gotoAndPlay (10);

you can set the gotoandplay frame to anything - it just has to be before the other actionscript above.

Basically the first actionscript skips over the loop back to wherever until the scene is loaded.

Thinking about this I am unsure if this works for just a scene of for the whole movie but worth a try?

HTH

Link to comment
Share on other sites

  • 0

i can do a basic preloader (that does the whole movie first) - i want one that will do scnee at a time...

if you want mr magoo i can send u a symbol u can drop into ur first scene which will automatically become a preloader (well except for putting a 'stop' action on the end of the 'preload' scene) - i think i got it off Flashkit....

its really easy to use....

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.