# Adding movieclips with a class?

**URL:** https://forum.kirupa.com/t/adding-movieclips-with-a-class/257357
**Category:** Uncategorized
**Created:** [April 13, 2008, 7:16am UTC](https://forum.kirupa.com/t/adding-movieclips-with-a-class/257357 "2008-04-13T07:16:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)
#### Post date: [April 13, 2008, 7:16am UTC](https://forum.kirupa.com/t/adding-movieclips-with-a-class/257357/1 "2008-04-13T07:16:46Z")

</div>

At the moment I am working this way. I have a movieclip (myMovieclip\_mc) that need to be moved around, off and on the stage.

At present I add the movieClip on the main timeline then use the class to manipulate it. However is it possible (or even efficient) to use the class to do the whole thing? I suppose I would have to send a variable name to the class and then get it to add the child to the stage.

If someone could do a simple example it would be much appreciated.
