A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do i make a "loading" scene

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    16

    Post

    Yep, im pretty new to this flash thing and i need to know how to make a "loading" screen to preload until the rest of the video plays.

  2. #2
    Senior Moderator
    Defender of the Faith
    Pope de Flash's Avatar
    Join Date
    Feb 2000
    Posts
    3,429

    Wink

    If you want a clean reusable pre loader do this:

    label the last frame in the movie "end" it doesnt matter if its in the first scene or another
    scene.

    Now place a blank key frame in frame 5 and another in frame 10.

    In frame 5 put this code:

    If Frame Is Loaded (Scene 2, "end")
    Go to and Play (11)
    End Frame Loaded

    (if the last frame is in scene 2)

    then put this action in frame 10:

    Go to and Play (1)

    Now you can put a layer below this layer and put a load movie clip
    in it. Be sure to add a blank keyframe in frame 11 of this layer so the load movie clip will
    not be visible once the preload is done.

    Now the best part is any time you need a pre loader you can just copy these frames and
    drop them into your movie. All you have to do is put the "end" lable in the last frame of
    the movie. The other advantage to this method is if the movie gets bigger your not
    attached to frames but to a label which should remain at the end. regards, Bill

    ------------------
    Macromedians 1:1

    In the beginning the web was without shape and color, and the hype covered the darkness of the net. Then there was a Flash and life came to the web and vision became reality.

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