# Stopping, playing, getting info of an external .swf animation

**URL:** <https://forum.kirupa.com/t/stopping-playing-getting-info-of-an-external-swf-animation/304887>\
**Category:** flash\
**Created:** [February 16, 2010, 12:12am UTC](https://forum.kirupa.com/t/stopping-playing-getting-info-of-an-external-swf-animation/304887 "2010-02-16T00:12:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunoja](https://avatars.discourse-cdn.com/v4/letter/b/b38774/32.png) [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Post date:** [February 16, 2010, 12:12am UTC](https://forum.kirupa.com/t/stopping-playing-getting-info-of-an-external-swf-animation/304887/1 "2010-02-16T00:12:32Z")

</div>

Hello!

I have an external .swf lib that I load using Loader class. I can get the content of it (images, text) using:

new (loader.contentLoaderInfo.applicationDomain.getDefinition(symbol) as Class)();

Then I use it to load a .swf (that I generated using Flash CS3 trial) inside that .swf lib:

var mc:MovieClip = new (loader.contentLoaderInfo.applicationDomain.getDefinition(symbol) as Class)();

I use addChild(mc) and the animation is displayed! So far so good, but the gotoAndStop, gotoAndPlay, stop and play, getting totalFrames, functions simply does not works!!!

What is wrong?  
Thank you!
