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 ...
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...
Unix books and guides AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.