ADBRITE ads links
You are here: CodeIdol.com > Flash > Macromedia Flash® ActionScript: Training from the Source > Lesson5.Built In Classes
Macromedia Flash® ActionScript: Training from the Source
| Lesson 5. Built-in Classes
Every day you use objects to perform any number of activities. You may have used Tupperware to store fresh cookies to prevent them from becoming stale, or the trash can to store a fruitcake from your Aunt Sally. Objects ...
|
|
| What You Will Learn
In this lesson, you will:
Learn what classes are and why they are usefulGet acquainted with several of the classes available in ActionScriptUse the Color classCreate a word processor using properties and methods of the String ...
|
|
| Approximate Time
This lesson takes approximately forty-five minutes to complete.
...
|
|
| Lesson Files
Media Files:
None
Starting Files:
Lesson05/Start/Clown1.fla
Lesson05/Start/wordProcessor1.fla
Completed Projects:
Lesson05/Completed/Clown2.fla
Lesson05/Completed/wordProcessor2.fla
...
|
|
| What Classes Are and Why They're Useful
ActionScript classes allow you to perform all sorts of interactive tasks with Flash. They provide a means for you to work with text, sound, color, dates, and more in very dynamic ways.
As you'll soon learn,...
|
|
| Using the Color Class
To use a Color class, you must first create an instance using the Color class constructor. Here's the syntax for creating a new instance of the Color class:
var myColor:Color = new Color(shirt_mc);
The script creates a ne...
|
|
| Working with String and Selection Classes
As one of the most commonly used classes, the String class uses methods that can be helpful for modifying and building strings: quote-enclosed values that contain information (like the name "Jobe"...
|
|
| What You Have Learned
In this lesson, you have:
Learned what classes are and why they are useful (pages 97101)Become acquainted with the various built-in classes available in ActionScript (pages 101111)Used the Color class (pages 111116)Created a...
|
|
You are here: CodeIdol.com > Flash > Macromedia Flash® ActionScript: Training from the Source > Lesson5.Built In Classes
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|