I think i found away to create a custom progress bar of any shape or sizes instead of straight bar. and without use of code 😉 .. for this
Create a background actor with total dimension of the actual length of progress bar.
Make it animation component container to contain more actors.
Now add a bitmap image fill color to fill the background of same size in width and height..
You can further use animated type as well. in form of fill
Now dublicate the background layer and it as a masking layer to mask the fill layer..
Keep the mask over to the side so that its no longer covering the fill. make sure the masking layer is of same size as that of background.
Go to the timeline of masking layer and mark keyframes from 1 to 100 frames.
Now animate the mask layer at 1 frame to just a bit over the fill to reveal small amount i.e (1%).. and at 100. move it along all the way over the fill i.e 100%
Now mark each step on timeline so that at every frame you get increamental orders of percentage over timeline And Wollahh!!.. you have custom progress bar. Now you just have to send command to go to such and such frame on timeline and you'll get the progress of it because you have divided your timeline of 100 frames as a form of measurement and you can directly plug the number of frame to play based of any increamental stages you want.
For Continues progress bar instead of marking each frame ad linear tween between 1 to 100 frames and at stop action at frame 1 and whenever you want to start just set it to go to frame 2 to play as continues progress bar..
with this structure you can have any style of progress bar as either rectangular, circular, spherical, fills etc its only a matter of how you animate the mask layer. 🙂