Simple actionscript question

Here’s an easy one for anyone who knows actionscript…
I have a variable text box called “percentage” and a movieClip called “progressbar” (100 frames).
I want the number in my variable txt box “percentage” to tell “progressbar” to go to the corresponding frame number.
for instance if the number in the txt box is 15 the movieclip has to go to frame 15.

Thanks
-A designer, forced to be programmer.

Hi Halil,
Try this:-

progressbar.gotoAndStop(percentage);

That should do the trick

Cheers

steve