# MovieClip duration display

**URL:** <https://forum.kirupa.com/t/movieclip-duration-display/218445>\
**Category:** flash\
**Created:** [March 7, 2007, 8:09pm UTC](https://forum.kirupa.com/t/movieclip-duration-display/218445 "2007-03-07T20:09:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DataVZ](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@DataVZ](https://forum.kirupa.com/u/DataVZ)\
**Post date:** [March 7, 2007, 8:09pm UTC](https://forum.kirupa.com/t/movieclip-duration-display/218445/1 "2007-03-07T20:09:02Z")

</div>

I have a controller that works well (play, pause, restart, and a scrubbing playhead), now I just need to display the time remaining vs. the total time of an external swf, preferably in MM:SS format (Ex: 02:36/03:51). I’m getting better with my ActionScripting all the time, but the more I learn, the more I realize just how little I actually know. Anyways, my files are setup as follows:  
[LIST]  
[_]HTML w/ JavaScript that hides the main swf (giving it time to load)  
[_]Main swf revealed when button is clicked on HTML page  
[_]External swf pulled into an empty MC (mcContent)  
[_]Instance of controller in the main swf targets mcContent  
[\*]Dynamic text field labelled “txtTimer” is inside of controller waiting for the right script to display time remaining/total time[/LIST]So, anybody know where I could find some script to get this final touch added to my project? Either time elapsed or time remaining would be cool. I’ve gotten a lot of really good help/tips here in the past and am hoping to keep that going.  
Thanks!  
-VZ
