MovieClip(root)

Hey guys,

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


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:


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