Using ActionScript 2.0 Components |
|
|
|
| Creating Components > Final steps in component development > Component development checklist | |||
When you design a component, use the following practices:
symbolName, symbolOwner, and className variables.init() and size() methods and call Super.init() and Super.size() respectively, but otherwise keep them lightweight._root.myVariable.createClassObject() instead of attachMovie().invalidate() and invalidateStyle() to invoke the draw() method instead of calling draw() explicitly.
|
|
|
|