# Listen for the Frame Number and Display Current Frame

**URL:** <https://forum.kirupa.com/t/listen-for-the-frame-number-and-display-current-frame/300198>\
**Category:** Uncategorized\
**Created:** [November 17, 2009, 3:55pm UTC](https://forum.kirupa.com/t/listen-for-the-frame-number-and-display-current-frame/300198 "2009-11-17T15:55:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperiorAssassi](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@SuperiorAssassi](https://forum.kirupa.com/u/SuperiorAssassi)\
**Post date:** [November 17, 2009, 3:55pm UTC](https://forum.kirupa.com/t/listen-for-the-frame-number-and-display-current-frame/300198/1 "2009-11-17T15:55:39Z")

</div>

I have tried this a dozen different ways and I really am at my wits end.

I have a presentation that works like a powerpoint. Everything is working as it should, except one part. I have a movie clip with an instance named slides, and I want to actively display which frame number you are in this move clip.

I have tried more than one why but I see no reason why this should not work:

var frameNum:Number = this.slides.currentFrame;  
this.frameText.text = “Páquina " + frameNum + " de 173”;

It appears to work at first, but does not update when I navigate the slides. It constantly says 1. Before I just added a function to the back and next buttons to frameNum++ and frameNum–, but after I created the Menu I would prefer it to automatically detect what frame it is on.

Some quick help would be much appreciated.
