# Actionscript to track play progress of an externally loaded SWF File

**URL:** https://forum.kirupa.com/t/actionscript-to-track-play-progress-of-an-externally-loaded-swf-file/221464
**Category:** flash
**Created:** [April 4, 2007, 3:20pm UTC](https://forum.kirupa.com/t/actionscript-to-track-play-progress-of-an-externally-loaded-swf-file/221464 "2007-04-04T15:20:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JeremyT](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@JeremyT](https://forum.kirupa.com/u/JeremyT)
#### Post date: [April 4, 2007, 3:20pm UTC](https://forum.kirupa.com/t/actionscript-to-track-play-progress-of-an-externally-loaded-swf-file/221464/1 "2007-04-04T15:20:36Z")

</div>

I’m working through the tutorials in Flash Professional 8: Beyond the Basics to teach myself the skills I need to build a project for my day job.

The project is basically a slideshow presentation. I have controls loading into one level, an animated background into another, and then swf files loading into \_level5 that the controls can pause, rewind, fast forward, and so forth. All that is in place. I have built a preloader, so I understand that part. What I am unable to figure out is how to track the totalframes and frames played on an existing level so that I can update a scrubber bar with percent played.

So, here’s a snip of code:

```auto
function loadSlide() {
    this.myMCL.loadClip("slide" + curSlideNum + ".swf", 5);
}

```

I run loadSlide() whenever I want to progress to the next portion of the presentation. What I would like to know, again, is how can I track the play progress of slidex.swf in \_level5 so that I can present this information visually.

Thanks in advance for any help. I hope that I can become a productive member of this community over time. I hate feeling like an idiot like I do right now. I’m not much of a programmer, more of a designer, but I am enjoying actionscript so far.
