Height and Width are 0?
I want to write a shell that creates instances of an app and scales it down for animating. Well, I'm new at this so I created my shell class and instanced the app and set scales for x and y and then I traced the height and width because I wasn't sure what they'd be. I thought they'd be based on the stuff on the stage or whatever, but they both came up zero. So I'm not sure how that works, am I supposed to have set those values?
I know this is pretty n00b, but yeah, I'm new at this.
public class MWShell extends MovieClip
{
private var mWall:MonitorWallApp;
public function MWShell()
{
mWall = new MonitorWallApp();
mWall.scaleX = .6;
mWall.scaleY = .6;
trace(mWall.height, " ", mWall.width);
addChild(mWall);
}
}