# Progress of a movie (not a preloader)

**URL:** <https://forum.kirupa.com/t/progress-of-a-movie-not-a-preloader/97671>\
**Category:** Uncategorized\
**Created:** [December 27, 2003, 9:34am UTC](https://forum.kirupa.com/t/progress-of-a-movie-not-a-preloader/97671 "2003-12-27T09:34:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@Geoff](https://forum.kirupa.com/u/Geoff)\
**Post date:** [December 27, 2003, 9:34am UTC](https://forum.kirupa.com/t/progress-of-a-movie-not-a-preloader/97671/1 "2003-12-27T09:34:38Z")

</div>

I am simply trying to display the frame number of a movie as it plays.

I have a dynamic text box with a var(iable) called framenum. I use an off stage movie clip with the following code attatched to the movieclip:

onClipEvent (enterFrame) {  
framenum = \_currentframe;  
}

(I believe that you don’t need to target the movieclip if the code is associated with that clip, although I have tried this as well)

Why doesn’t this work please ?

Thanks
