dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: preloader with percentage

  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    27

    preloader with percentage

    Hi there,

    I am looking allover for a way to create a preloader that shows percentage, but of the ENTIRE .swf. I would like it to go only to scene 1, frame 20.

    Is that possible, and ... would anyone have an example I could "look at"?

    Thanks in advance,

    FK

  2. #2
    Junior Member
    Join Date
    May 2003
    Posts
    27
    ... sorry, I meant of course NOT of the ENTIRE .swf. ...

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Regardless of what's actually being displayed (loadbar or percentage), you can code your preloader to start playing the movie at whatever point in the preloading process.

    If your using _frameloaded and _totalframes, then something like this...

    if(_root._framesloaded >= 20){
    _root.gotoAndPlay("frame_label");
    }

    If you're using getBytesLoaded, then you would use some percentage or so many bytes from the total bytes of the movie in your if statement.

  4. #4
    Junior Member
    Join Date
    May 2003
    Posts
    27
    thanks. I will try that.
    You have saved me many times!

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