Scripts for frames

i was wondering if there was a script that will get the frame number and display it on my movie??? i have 337 frames, and i am looking for an easier way than keyframing the number…if anyone knows…please share your knowledge with me!!!thanks

Place on your main timeline[AS]this.onEnterFrame = function(){
myTextField.text = _currentframe;
}[/AS]

hey that is pretty kool, im gonna use that… it will add a bit more interest and business to some of my flash’s

im not exactly sure how to get that to work???

Make a textfield with an instance name of myTextField and paste that code on your first frame.