A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Preloading My SWF??!

  1. #1
    Member
    Join Date
    Jul 2000
    Posts
    35
    OK My SWF file is about 1mb.

    I have 5 Scenes

    Preload
    Create
    Process
    Publish
    Animation

    Anyways I need to get a preloader in the preloader scene to preload scene 5 "animation" u dont really need to preload the other scenes since they are so small and short. but it really chongs on "animation"
    i tried the simple loadbar preload tutorial but that didn't work.

    Does any have any suggestion? I have never made a preloader before so I'm pretty new to all this. Any help/tutorials would be greatly appreciated

    if you think viewing the file would help i have it posted here
    http://www.rit.edu/~iam6956/cdx.html
    it is really nice and smooth in flash but i need a preloader for it to not go slow in director. As for the design of it, its not quite done



  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    This is what I use:


    ifFrameLoaded ("Animation", "movieLoaded") {
    gotoAndPlay ("Create", 1);
    }


    This tells the movie to make sure that the frame label
    "movieLoaded" (the last frame in Animation is loaded before it plays)

    Email me and I'll send you my .fla

    webmaster@estudioworks.com

  3. #3
    Member
    Join Date
    Jul 2000
    Posts
    35
    Ok i did that i have a scene put before my first scene and on that i basically haevf 2 layers on layer just has text that says please wait while the movie loads.
    the second layer is actions the first frame i have an action that says

    ifFrameLoaded ("Animation", "lastframe") { gotoAndPlay ("Create", 1);
    }

    I export a swf and it goes straight to the first frame of create. I'm sure that it probably goes to the preloader scene first but since it only needs to load one frame it passes that very quickly. I think my problem is that i am trying to get a frame to load when really i need an entire scene to load in order for it to run smoothly.

    So yeah i need scene preload function

  4. #4
    Member
    Join Date
    Jul 2000
    Posts
    35
    :-(

  5. #5
    Member
    Join Date
    Jul 2000
    Posts
    35
    anyone got any ideas?

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