is there an action script that dynamically puts the number of the frame into a text field?

really appreciate it if anybody knows this...

many thanks
andy