Preloader Idea

Ok here is my idea, percent is out of 100, so if I made a 100 frame animation in a movie clip and asigned to it actionscript somthing along the lines of

onClipEvent (enterFrame); {
var percentage = _root.percentLoaded
_root.preloadAnim.gotoAndPlay (percentage);
}

I’m not very good at actionscript so that is probably terible :bored:…
but using the CORECT code flash should find out the percent of the animation that is loaded and then go to the coresponding frame of the loader Animation?

so what I’m asking you is can you help me get the right code to do this because I’m to useless :upset:

thanks, Matt :thumb2: