< Day Day Up > |
[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Object class 2nd addProperty( ) event objects as instances of registerClass( ) 2nd root class of built-in hierarchy object composition [See composition] object references, using local variables instead of object-oriented design (OOD) object-oriented programming (OOP) 2nd ActionScript 1.0 vs. 2.0 ActionScript 2.0 features application framework .fla file (Flash document) classes directory structure document timeline projects in Flash MX Professional 2004 appropriate situations for classes 2nd [See also classes] syntax compilation datatypes defined by classes definition of design patterns [See design patterns] encapsulation inheritance 2nd [See also inheritance] key concepts packages starting applications objects 2nd [See also object-oriented programming] built-in, augmenting casting to supertype or subtype classes as templates for converting to strings [See serialization] creating 2nd current object, referring to with this keyword error event-consumer info object instances interface properties and methods , code hints for references to, cleaning up before deleting object serialization of using Observable class (example) 2nd model class (MVC) as subclass of source code Observable interface (example) Observer class [See Observer interface] Observer design pattern 2nd 3rd delegation event model vs. implementing in ActionScript 2.0 Logger (complete example) implementing using composition inheritance misuse in Logger Logger class Logger class, using LogMessage class OutputPanelView class TextFieldView class memory management issues model-view relationship in MVC multiple representations of a single body of data push and pull models real world event handling and responsibilities of the subject calss updated information to observers Observer interface (example) implementation by AbstractView class observers online resources, Flash- related onLoadError( ) (MovieClipLoader) onLoadInit( ) (MovieClipLoader) onLoadProgress( ) (MovieClipLoader) onLoadStart( ) and onLoadComplete( ) (MovieClipLoader) operating systems, location of Classes directory operators, ActionScript 2.0 ’slash syntax “ for variables (Flash 4) 2nd Output panel current time displayed in do-nothing setter that prints debug message to enumerable properties of obj in error message about nonexistant property error message about private member access error message about static member access OutputPanelView class (example) overloaded constructors, simulating overloaded methods 2nd overridden methods, inherited by derived class from base class overriding best practices for class methods, member access and excessive, problems with instance methods invoking overridden method member access and methods, ActionScript 2.0 vs. ECMAScript 4 properties 2nd code clarity and super keyword and overridden property access |
< Day Day Up > |