Book description
As any Flash developer worth his or her salt knows, you’re not tapping all of the program’s power unless you’re taking advantage of its scripting language. Not to worry: With Flash 8’s improved scripting language (which includes a visual interface!) and this project-based guide you don’t have to be a master programmer to do so. In these pages authors Jobe Makar and Danny Patterson, use hands-on lessons and simple, step-by-step instructions to translate real-life activities into scripts, in the process demonstrating that scripting is something you already instinctively know how to do. To that end, the authors have provided methodologies and techniques for building nearly 40 real-life Flash 8 ActionScript projects, including sample games, wireless applications, Web sites, and more—all of which will help you work faster and more efficiently. The companion CD contains all of the project files and images you’ll need to complete the book’s lessons.
Table of contents
- Copyright
- Credits
- Bios
- Acknowledgments
- Introduction
- 1. Introduction to ActionScript 2.0
- 2. Functions
- 3. Conditional Logic
- 4. Arrays and Loops
-
5. Built-in Classes
- What You Will Learn
- Approximate Time
- Lesson Files
-
What Classes Are and Why They’re Useful
- Understanding the Concept of Classes and Instances
- Properties
- Methods
- Built-in Classes
- Accessibility Class (Top-Level)
- Array Class (Instances)
- Boolean Class (Instances)
- Button Class (Instances)
- Capabilities Class (Top-Level)
- Color Class (Instances)
- ContextMenu Class (Instances)
- ContextMenuItems Class (Instances)
- Date Class (Instances)
- Error Class (Instances)
- Key Class (Top-Level)
- LoadVars Class (Instances)
- Math Class (Top-Level)
- Mouse Class (Top-Level)
- MovieClip Class (Instances)
- MovieClipLoader Class (Instances)
- NetConnection Class (Instances)
- NetStream Class (Instances)
- Number Class (Top-Level)
- Object Class (Instances)
- PrintJob Class (Instances)
- Selection Class (Top-Level)
- Sound Class (Instances)
- Stage Class (Top-Level)
- String Class (Instances)
- StyleSheet Class (Instances)
- System Class (Top-Level)
- TextField Class (Instances)
- TextFormat Class (Instances)
- XML Class (Instances)
- XMLSocket Class (Instances)
- Using the Color Class
- Working with String and Selection Classes
- What You Have Learned
-
6. Custom Classes
- What You Will Learn
- Approximate Time
- Lesson Files
- Understanding Classes, Top-Level Classes, and Instances
- Creating a Class
- Understanding the Classpath
- Using Packages and Importing Classes
- Using Getters and Setters
- Defining Members
- Understanding Inheritance
- Updating an Inheritance-Based Project
- What You Have Learned
- 7. Events, Listeners, and Callbacks
- 8. Dynamically Creating Assets
- 9. Bitmap Features
- 10. UI Components
- 11. Advanced Object-Oriented Design
- 12. Data Validation
- 13. External Data Connections
- 14. XML and Flash
-
15. External Interface
- What You Will Learn
- Approximate Time
- Lesson Files
- Getting Started with ExternalInterface
- Configuring HTML for Basic ExternalInterface Calls
- Calling JavaScript Functions from ActionScript
- Using JavaScript Functionality from Flash
- Calling ActionScript Functions from JavaScript
- Building a Quiz Application
- What You Have Learned
-
16. Sound and Video
- What You Will Learn
- Approximate Time
- Lesson Files
- Controlling Sound with ActionScript
- Creating a Sound Instance
- Dragging a Movie Clip Instance Within a Boundary
- Controlling Volume
- Controlling Panning
- Attaching Sounds and Controlling Sound Playback
- Loading and Controlling External Video
- What You Have Learned
- 17. Printing and Context Menus
- 18. Maximum-Strength SWF Files
Product information
- Title: Macromedia® Flash® 8 ActionScript: Training from the Source
- Author(s):
- Release date: January 2006
- Publisher(s): Adobe Press
- ISBN: 9780321336194
You might also like
video
Adobe Flash CS6
In this training course for Adobe Flash CS6, experienced trainer and author Geoff Blake introduces you …
book
Revit® Architecture 2015: A Hands-On Guide
Revit® Architecture 2015: A Comprehensive Guide, offers students a hands-on series of tutorials, arranged hierarchically, to …
book
.NET Compact Framework Programming with Visual Basic .NET
“For nearly two decades, Paul Yao and David Durant have been acknowledged as experts on the …
book
Scientific Imaging with Photoshop: Methods, Measurement, and Output
Adobe Photoshop is one of the more powerful tools available to scientists today. It is indispensable …