Component/sub-movieclips initialization in AS2

Here’s a thing. You attach some MovieClip to the stage and try to style or set a components properties that resides within it, only to find your efforts are ignored. Imagine you have a library symbol containing a button, and with the following AS2 class bound to it: import mx.controls.*; class App extends MovieClip { var a_button:Button; public function App() { a_button.enabled = false; // ignored } } The reason the setting of ....

December 2, 2004 · Richard