A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading sequence screen in Flash 4...

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Question

    Hi there. I hope that someone can help me here. I have created a flash movie for my website (just a small intro, about 70 K with music) but it does take some time to load up because of the music file. I have tried to create a loading screen to tell the user that the movie is loading, but I am not sure I am doing it correctly. I have got about 15 frames, and tweened some text that says "LOADING...". In the final frame, I have added an action that says that if frame 51 is loaded (frame 51 is where the music begins) then it must goto and play frame 30 (which is where the movie begins.)

    I went on it last night, and it took ages to load up, and the music still had huge gaps. I think that the movie is ignoring the loading frames. How do I create a proper loading sequence??

    By the way, the movie is here. Please will someone try and help me. Thanks alot.

    CHokKA



    ------------------
    CHokKA

    Clan MAI Homepage

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

    Post

    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.


  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Post

    Thanks alot m8. I will give that a try tonight.

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