< 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] data and logic, management by MVC model class datatypes ActionScript 2.0, quick reference ActionScript, online primer built-in classes, information for casting compile-time, leniency of AS2 conversion vs. member selection and problems with runtime support terminology converting numbers to strings declaration of method parameters and return values for properties variables and properties defined by interfaces dynamic typing indicating for method parameters multidatatype classes, interfaces and multiple type inheritance with interfaces overridden instance methods and post- colon syntax property redeclaring return type, defining for method return value static typing reasons for weak strict, static, and strong typing strongly typed languages subclasses as subtypes type and subtype type checking ActionScript 2.0 features for built-in dynamic classes casting circumventing type checking compatible types declaring datatypes fixing datatype mismatch error incompatible types mistaken datatype assumption quirks and limitations of static typing Void Date class 2nd getDay( ) problems casting to Date type debugging messages, using to distinguish among exceptions declarations class interface methods declaring datatypes method or parameters and return values post-colon syntax variables and properties delegation event model 2nd 3rd core implementation EventListener interface EventListenerList class EventObject class flow of logic NightSky (example) event source, Randomizer class NightSky class 2nd overall structure Randomizer class RandomizerEvent class 2nd RandomizerListener interface 2nd structure and participants event object event source Observer pattern vs. deleting class resources event-listener objects objects depths, movie clips unique, supplying for ImageViewer class instances derived class design patterns 2nd 3rd benefits of definition of delegation event model 2nd core implementation flow of logic structure and participants Model-View-Controller (MVC) 2nd clock application general architecture implementation online articles about Observer implementing in ActionScript 2.0 Logger (complete example) memory management issues real world event handling and Singleton implementing in ActionScript 2.0 in Logger class static methods and properties vs. using as globals , warning against designing ActionScript 2.0 class functional requirements, establishing ImageViewer, redesign summary moving from functional requirements to code diagramming classes die( ) (Box class example) directories included in global classpath directory structure defining for packages OOP application disambiguating method parameter from the property displaying image load progress images shapes (graphics application example) dividing by zero document classpath adding new directory to class files in DOM-based support for XML-structured data domain (or problem domain) domain names Domain Name System (DNS) naming classes and packages after domains, cross-domain policy files doNothing( ) (ClassLoader) dot (.) operator downcasts avoiding error-checking with MovieClip return type to its subclass return type unsafe cast drag-and-drop visual development duration property (Sound class) dynamic binding containment of code changes dynamic class attributes dynamic class library static class library vs. testing dynamic classes built-in new methods and properties added to properties added to dynamic properties enumeration of dynamic typing type checking and |
< Day Day Up > |