This course provides an introduction to ActionScript 2.0 and the specifics of building classes.
Objectives
Create class definitions
Define variables and datatypes
Define methods and method types
Reference a class within a class
Topics
What is ActionScript 2.0?
Basic Syntax
ActionScript Classes
Implicit Getters and Setters
Interface and Implements
Constructs
What is an Object?
Understanding Classes
Methods and Constructors
Packages and the Classpath
Built-in and Dynamic Classes
2. Flash MX 2004 ActionScript 2.0:2 Properties and Methods
Time: 2 hours
This course provides a deeper understanding of what a property is and how properties are used within the context of objects. It explores the differences between ActionScript 2.0 functions and methods, methods that return datatypes, and creating methods within classes. In addition, it discusses using private and public attributes for methods and conserving resources through the use of static methods.
Objectives
Define class properties and how they are used
Set the access rights to properties
Declare a static property and add it to a class
Define a method in a class function
Use the getText() and setText() methods
Topics
Understanding Properties
Accessing Properties
Static Properties
Understanding the Role of Methods
Private Attribute for Methods
Building Getters and Setters
3. Flash MX 2004 ActionScript 2.0:3 Implementing Inheritance and Interfaces
Time: 2 hours
This course provides an introduction to ActionScript 2.0 addressing inheritance and interfaces.
Objectives
Discuss class hierarchies and inheritance
Discuss how a subclass can override superclass methods and properties