Macromedia Flash 8 Bible Free Open Book

Macromedia Flash 8 Bible

Previous Page
Next Page

Summary

  • ActionScript has several data types, including Boolean, Function, MovieClip, Number, Object, and String.

  • You should create a procedure when the same actions are repeated within a Flash movie, or when you want to avoid storing long action lists within Button instances.

  • A function is defined with the function action, in the format function name (arguments){actions}.

  • Arrays can manage related information, such as lists. An array is initiated with the Array constructor, as in myArray = new Array();.

  • Array elements have an index number, indicating their position in the array. Array index numbers start with 0 and increment by 1 with each new element.

  • Functions can be used as methods of ActionScript objects. You assign a method by creating a unique method name after the object and setting the method's value equal to a function name (for example, mcMenu.createMenu = createMenu;). Parentheses and arguments are omitted from the method assignment.

  • You create objects with the function constructor. Functions intended for this use describe properties and methods for objects using the this target path. You create a new object by specifying an object name and setting its value equal to a new instance of the function name, as in myObject = new SoundLibrary(1,7);.


Previous Page
Next Page
Index: [A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][Q][R][S][T][U][V][W][X][Y][Z]


     Main Menu
Table of Contents
Back Cover
Macromedia Flash 8 Bible
Foreword
Preface
Part I: An Introduction to Flash Web Production
Part II: Mastering the Flash Environment
Part III: Creating Animation and Effects
Part IV: Integrating Media Files with Flash
Part V: Adding Basic Interactivity to Flash Movies
Part VI: Distributing Flash Movies
Part VII: Approaching ActionScript
Chapter 24: Knowing the Nuts and Bolts of Code
Chapter 25: Controlling Movie Clips
Chapter 26: Using Functions and Arrays
What are Data Types?
Overview of Functions as Procedures
Managing Related Data: The Array Class
Creating a Dynamic Reusable Flash Menu
Functions as Methods of Objects
Functions as Constructors for Objects
Summary
Chapter 27: Interacting with Movie Clips
Part VIII: Applying ActionScript
Part IX: Integrating Components and Data-Binding
Part X: Expanding Flash
Part XI: Appendixes
Index
List of Figures
List of Tables
List of Listings
List of Sidebars


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes
500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele