Part 1. - Making Custom Classes
Chapter 1: USING BUILT-IN CLASSES (60 min)
1. Looking at the Basics
2. Changing the Properties of a Movie Clip
3. Using the On Enter Frame Event Handler
4. Using the Randomize Function
5. Creating a Placeholder for Multiple Objects
6. Adding a Loop
7. Using Variables to Make Reusable Code
8. Setting Up an On Release Event
9. Making a Tween Object
10. Modifying the Depth Parameter
11. Demonstrating the Modular Structure with Alpha
Chapter 2: WORKING WITH THE LISTENER OBJECT MODEL (62 min)
1. Looking at Built-In Classes
2. Working with MovieClip Event Handlers
3. Working with Non-Handler Classes
4. Creating Mouse Events
5. Creating Key Events
6. Using Switches to Detect which Keys are Pressed
7. Event Listeners
8. Practical Example of Listener Usage
9. Listening for Multiple Broadcasts
10. A Limitation of the loadMovie Method
11. Introducing the MovieClipLoader
12. Listening for Load Progress
13. Creating an Animated Progress Bar
14. Hiding Progress Bar Upon loadComplete
15. Loading External Bitmaps with MovieClipLoader
Chapter 3: INTRODUCTION TO MAKING CLASSES (64 min)
1. Learning the Structure of a Real Class
2. Declaring Variables
3. Introducing Constructor Functions
4. Testing Using a Di.erent Stage Size
5. Using Methods
6. Using a Getter & a Setter
7. Showing a Dynamic Setting in the Class
8. Randomizing
9. Reusability
10. Setting Up a Class for a Text Type Animation
11. Adding a Typer Function to the Class
12. Testing the Text Type Animation
Chapter 4: USING CUSTOM CLASSES FOR BUTTONS (54 min)
1. Introducing Custom Buttons
2. Setting Up the Visibility of the Initial Content
3. Setting Up Event Handlers for the Home Button
4. Adding Frame Labels
5. Dynamically Assigning the Label for a Button
6. Setting Up a Generalized Function to Handle Buttons
7. Making Custom Buttons into a Class
8. Making a Class an Extension of Another Class
9. Assigning Event Handlers to Functions & a Class
10. Advanced Button Class Summary
11. Attaching Audio to a Toggle Button
12. Constructing a Class for the Toggle Button
13. Animate the Toggle Button Using the Tween Class
14. Learning where to Store Class Files
Chapter 5: USING CUSTOM CLASSES FOR EFFECTS (69 min)
1. Building Animated E.ects in the Timeline
2. Packaging Scripts into a Function
3. Setting Up Letter Spacing & Text
4. Turning a Script into a Class, Part 1
5. Turning a Script into a Class, Part 2
6. Testing Using Syntax Checker
7. Animation Changes & New E.ects
8. Making a Class More Independent
9. Creating Tweens inside the Class
10. Incorporating Tween Events & Methods into the Class
11. Adding More E.ects
12. Building E.ects into the Class File
13. Formatting Text in the Test File
Chapter 6: MAKING A COMPONENT (68 min)
1. Checking Out Graphics for the Content
2. Starting the Slider Movement
3. Measuring the Position of the Slider
4. Set Intervals with Check Settings Function
5. Changing the Interval for Smoother Control
6. Moving the Code into a Class
7. Using Check Syntax to Find Script Errors
8. Setting Up the Project for Testing
9. Adding an OnRelease Outside Event Handler
10. Separate the Slider Measurement from the Object
11. Tracking if the Slider is Active
12. Setting the Range of the Slider
13. Making the Slider into a Component
14. Setting Up a Rotation Slider
15. Adding a Start Value
16. Displaying the Slider in the Components Panel
17. Testing the Slider Component
18. Final Comments & Credits