|
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:
After completing this course, students will be able to:
- 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
|