function contentLoaded(event:Event):void { var mc:MovieClip = new MovieClip(); mc.addChild(ldr.content); addChild(mc); trace(mc.totalFrames); }