# TotalFrames from Child

**URL:** <https://forum.kirupa.com/t/totalframes-from-child/283225>\
**Category:** flash\
**Created:** [March 3, 2009, 9:49pm UTC](https://forum.kirupa.com/t/totalframes-from-child/283225 "2009-03-03T21:49:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImageMagician](https://avatars.discourse-cdn.com/v4/letter/i/e47774/32.png) [@ImageMagician](https://forum.kirupa.com/u/ImageMagician)\
**Post date:** [March 3, 2009, 9:49pm UTC](https://forum.kirupa.com/t/totalframes-from-child/283225/1 "2009-03-03T21:49:59Z")

</div>

I am loading an external swf as a child and I want to get its “totalFrames”, but I get the following error: “Property totalFrames not found on flash.display.Loader and there is no default value.”

Is there a way to get totalFrames from a child? Here is what I have:

```auto

var movieArea = new Loader();
addChild(movieArea);

movieArea.load(new URLRequest("slide1.swf"));
movieArea.x=5;
movieArea.y=5;

var framesTot = trace(movieArea.totalFrames);

```
