Need a counter

I have a flash app that I need to have a sec/frame counter for.

I need this to display on my flash app.

Say the app has 1200 frames and I set my app to do 12fps I need to display the total time
1200frames/12fps = y then say as the flash app is running in need to display the currentframe / 12 (which is my frame rate) = x. The final outcome this point should display x | y so I have a time bar.