PDA

View Full Version : Preloader Progress Bar Direction


jmitteco
07-26-2005, 03:58 PM
Preloader Progress Bar Direction
------------------------------------------------------------------------
I did a tutorial that showed me how to create a preloader with a progress bar that loaded the bar from left to right.
I modified it to progress top to bottom for my own needs but would like to make it progress from bottom to top.
Can someone tell me how to do this?
Here's the code:

onClipEvent (enterFrame) {
_yscale = _root.percentDone;
}

Also, this is a bar/image that becomes visible as the page loads.
Is there a way to make the bar disappear as the page loads & reveal an image on a layer behind it?

Any help is appreciated.
Thanks in advance.
jmitteco

Ricod
07-26-2005, 05:03 PM
I think it's something like :
_yscale = _root.percentDone * -1;