# Class with movie clip actions

**URL:** <https://forum.kirupa.com/t/class-with-movie-clip-actions/235234>\
**Category:** Uncategorized\
**Created:** [August 9, 2007, 2:29pm UTC](https://forum.kirupa.com/t/class-with-movie-clip-actions/235234 "2007-08-09T14:29:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrndMasterFlash](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Post date:** [August 9, 2007, 2:29pm UTC](https://forum.kirupa.com/t/class-with-movie-clip-actions/235234/1 "2007-08-09T14:29:30Z")

</div>

ok, i use addChild to load a character (MC) from the library and take actions, if i reffer to the MC the new caracter loads into i can get simple direction control, only because the child is attached to the parent, but when i try to do somthing like a goto command it will not work,

the simple script

```auto
player.addChild(new emilia);
trace(emilia); // output = [class emilia]
trace(player); // output = [object MovieClip]
player.x = 200;
player.y = 490;
emilia.gotoAndStop("duck");

```

is there a way for me to be able to load in “emilia” as its own MC to be able to receive time line controls?
