# MovieClip(root)

**URL:** <https://forum.kirupa.com/t/movieclip-root/248156>\
**Category:** flash\
**Created:** [January 4, 2008, 2:00pm UTC](https://forum.kirupa.com/t/movieclip-root/248156 "2008-01-04T14:00:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sceneshift](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Post date:** [January 4, 2008, 2:00pm UTC](https://forum.kirupa.com/t/movieclip-root/248156/1 "2008-01-04T14:00:29Z")

</div>

Hey guys,

The framework for my current structure has a base class thats instantiates a bunch of other classes, for example:

```auto

public var tween:tweenClass = new tweenClass; // handles tween events

```

Say later, from within another class / movieclip, I wanted to tween an object, I have been typing:

```auto

MovieClip(root).tween.doTween(blahblah);

```

I was just wondering if this was the correct way to do things? It seems casting root as a MovieClip each time is bad practice and I was wondering if there is another way I can call the tween class from outside of the base class.

Cheers
