A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: i have a problem with a preloader

  1. #1
    Junior Member
    Join Date
    Oct 2001
    i have my site and its basicly all a movie... so i only have 1 frame on scene 1 but i want a preloader. how do i make it so the preloader looks to see if the movie is loaded instead of the scene?



  2. #2
    Senior Member
    Join Date
    Jul 2001
    insert a new scene from the scene inspector, make sure its the top scene. Now insert a keyframe on frame 2 and 3. Insert this code on frame 2:

    ifFrameLoaded ("SceneName", 1) {
    gotoAndStop ("SceneName", 1);

    and this code on frame 3:

    gotoAndPlay (1);

    replace SceneName with whatever your main movie scene is called.

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