PDA

View Full Version : Does MovieClip call configUI onLoad?


fcano
03-06-2007, 11:11 AM
Hi!
I'm just starting to read ActionScript code and I have a doubt. I have a class that extends MovieClip.
This is the onLoad declaration:

private function onLoad():Void {}

And this is the constructor of the object:

private function Connector() {GDispatcher.initialize(this);}

When is configUI() called in this case? Is it called from MovieClip when loaded? I have searched examples in koders.com and almost always configUI() is called in this way:

private function onLoad():Void { configUI(); }

Thanks!