A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: URGENT!! need preloader help.

  1. #1
    Senior Member
    Join Date
    May 2002
    Posts
    132

    URGENT!! need preloader help.

    Hi all,

    I am looking for a VERY VERY simplae preloader that basically checks to see if framesloaded is equal to total frames and if it is true it then continues the movie playing.

    Does anyone have any simple code or way of doing this. Do I use a blank clip or put the code into the actions layer.

    I just want a couple of lines of code that I can use to do this.

    I am just going to have a movie clip saying loaded on the stage that repeats until the playhead goes to the next frame of the the movie once the frames code is fullfilled.

    If anuyone has some simple code they could post here or have a flash file they could post to show me how this is done I would be very appreciative.

    Thanks
    pixelmagik

  2. #2
    Spidey wants his icon back! Defyeler's Avatar
    Join Date
    Jul 2002
    Location
    New York City
    Posts
    255
    Take your pick, 3 different preloaders that look complex but are rather simple.

    http://www.kirupa.com/developer/mx/preloader.htm

    http://www.kirupa.com/developer/mx/p...age_loader.htm

    http://www.kirupa.com/developer/mx/p...epreloader.htm

    or you can always go with..
    PHP Code:
    if (_root.getBytesLoaded()>=_root.getBytesTotal()) {
    _root.gotoAndPlay(frame label);

    and just keep looping back to it till its true.
    Last edited by Defyeler; 12-02-2003 at 10:57 PM.
    Its never.. wow kool I like it, its always.. ok I made this.. how can it be better?

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