GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 25,954

0 members and 25,954 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Location
    NY
    Posts
    120

    Default PreLoader tutorial

    Alright, Flash MX is really old now and I don't think that many people use it. This tutorial is for Flash 8, I think it will work with MX anyway.

    This is just one way to make a basic preloader:

    1: Make new flash document

    2: Make 3 more layers making a total of 4 layers.
    Call them "preloader", "gfx", "actions", "framelabels".

    The preloader layer is for your preloader graphics, the gfx layer is for the rest of your movie/game/whatever, you could make more than just the gfx layer for your movie/game/whatever. The actions layer is for actionscript keyframes. And the framelabels layer is for frame labels...

    3: Make some keyframes and frame labels like this,

    To make a frame label select the keyframe and in the properties box at the bottom, type in where it says "end" in the picture;

    I've made the first keyframe labeled "loading" the second keyframe is labeled "start" and the last keyframe is labeled "end".

    4: Now for some actionscript, go to the first keyframe in the actions layer and press f9, then enter this into the box
    ifFrameLoaded ("end") {
    gotoAndPlay ("start");
    }
    that code checks to see if the frame labeled "end" is loaded and then it will go to "start" and play...

    5: On the second keyframe in the actions layer add this code;
    gotoAndPlay("loading")
    This makes the preloader loop until "end" has loaded.

    6: Now for animating the preloader, just add the text loading in the first frame of "loading" and animate it however you want, if you add more frames to make the preloader animated more then besure to keep it alligned with the last frame before the first frame of the "start" keyframe label.
    You should add some frames/keyframes to make it look like this when you want to make your animation/game.

    The frames where your animation/game will be are boxed in red.
    If you want to test your preloader, then go to Control - test movie then in the movie box go to view - download settings - put it at 56k then go to view again - simulate download, but it might load really fast if you don't have anything in there besides the preloader so add a song or some large picture, just to test the preoader.
    -

  2. #2
    Join Date
    Feb 2006
    Location
    Land of far far away!
    Posts
    560

    Default

    do you know how to make a preloader for a flash website? i have seen the ppicture pre loaders like a thousand times but when i try to aapply it to a huge file with like a million scenes it doesnt seem to work.
    Virulent "Thank You come again!"
    http://virulentviper.deviantart.com/

  3. #3
    Join Date
    Jan 2008
    Posts
    6

    Default

    Your tutorial is too hard to understand, explain in more detail, I have never even used flash before.

  4. #4
    Join Date
    Feb 2005
    Location
    Gothenburg, Sweden
    Posts
    3,199

    Default

    Quote Originally Posted by Scepticide View Post
    Your tutorial is too hard to understand, explain in more detail, I have never even used flash before.
    I believe Flash has a built-in tutorial that teaches you all the basics. Maybe give that a go before doing something more advanced like a preloader?

  5. #5
    Join Date
    Jan 2008
    Posts
    6

    Default

    Quote Originally Posted by MartinBabies View Post
    I believe Flash has a built-in tutorial that teaches you all the basics. Maybe give that a go before doing something more advanced like a preloader?
    A pre-loader is advanced? *gulp* =[

  6. #6
    Join Date
    Feb 2005
    Location
    Gothenburg, Sweden
    Posts
    3,199

    Default

    Yeah well it's more advanced than layers, basic animation and stuff like that. A preloader isn't that advanced I guess but since you couldn't understand it you should try to learn the basics first.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1