# Is there such thing as gettotalframes() or getframesplayed()?

**URL:** <https://forum.kirupa.com/t/is-there-such-thing-as-gettotalframes-or-getframesplayed/101215>\
**Category:** Uncategorized\
**Created:** [February 7, 2004, 5:48am UTC](https://forum.kirupa.com/t/is-there-such-thing-as-gettotalframes-or-getframesplayed/101215 "2004-02-07T05:48:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blenderben](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/blenderben/32/74_2.png) [@Blenderben](https://forum.kirupa.com/u/Blenderben)\
**Post date:** [February 7, 2004, 5:48am UTC](https://forum.kirupa.com/t/is-there-such-thing-as-gettotalframes-or-getframesplayed/101215/1 "2004-02-07T05:48:34Z")

</div>

As the subject line says. Is thre a way i can track in the beginning how many frames a swf file has played and how many total frames there are. what i want to do is have a swf file contain a song, but somehow be able to track how much of the song has been played and how much is left and i want to be able to create a small bar that moves across. is there a function that will get me “the frames played” and “the total frames” in a swf?
