Jump to content
Search Community

bend progress bar tweening

BabaBlackSheep test
Moderator Tag

Recommended Posts

You could create a mask that covers the bar and then just animate it's scaleX to 1

 

import com.greensock.*;
import com.greensock.easing.*;


//init mask
progress_mc.bar_mc.mask = progress_mc.mask_mc;
progress_mc.mask_mc.scaleX = 0;


//animate
TweenLite.to(progress_mc.mask_mc, 4, {scaleX:1, ease:Linear.easeNone, delay:0});

 

pbar_animation_CS5.zip

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...