dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: smooth preloader

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    263

    smooth preloader

    hey guys,
    do you know how to make a smooth preloader that has a bar that smoothly inreases in size to reflect the amount loaded. I know how to make the xscale of a bar equal to the percentage. But it is very choppy when i do that.
    Any help would be greatly appreciated
    Thanks
    Don
    http://www.stillloading.com
    http://www.threecell.com

  2. #2
    FK's Giant Steve_w_V's Avatar
    Join Date
    Mar 2003
    Location
    San Jose, California
    Posts
    2,113
    You can have a bar MC with 100 frames inside, on frame 1 it is very thin and on frame 100 it is full size. Instead of the _xscale, you could have it go to the correct frame:
    code:
    onClipEvent(enterFrame){
    //preloader code here
    this.gotoAndStop(percentLoaded)
    }

    The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...

  3. #3
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    It will still be choppy because loading is choppy.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  4. #4
    FK's Giant Steve_w_V's Avatar
    Join Date
    Mar 2003
    Location
    San Jose, California
    Posts
    2,113
    Originally posted by cancerinform
    It will still be choppy because loading is choppy.
    Good point
    The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...

  5. #5
    |Chris
    |chris@ascendvisual.com

  6. #6
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

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