Macromedia Flash 8 Bible Free Open Book

Macromedia Flash 8 Bible

Previous Page
Next Page

Custom Components

One of the most exciting aspects of components in Flash 8 is being able to make your own creations for distribution or reuse. Custom components usually require a significant amount of ActionScript or at least a solid understanding of the language in order to modify an established component. If you learn how to make your own components to suit common requirements, you will inevitably save a lot of valuable development time. Components were created to be easily reused among projects, and they also allow for simple modifications without having to alter the ActionScript code in the component. Given the robust nature of components, you should be able to develop complex applications, detailed right down to custom icons for the library. While we will not go into detail on how to create custom components in this chapter due to their complexity, we do explore more custom component creation in Chapter 35, "Building an Image Gallery Component."

Tip 

As you learned earlier in this chapter, components can be compiled clips. Flash 8 enables you to compile your own custom components so that you can distribute the components without giving away your source code.

Live Preview

If you are creating custom components, a Live Preview can be extremely useful. This feature enables you to create an updated view of your component in the authoring environment, so you do not have to publish your movie to view the current state of your component. Creating a Live Preview requires a number of steps to set up your movie structure properly and also to activate ActionScript. It is definitely worth it if you are spending a lot of time creating your own components.

Tip 

If you create a component, a live preview layer is automatically generated for your component. Usually, anything within the component that uses a getter/setter property is automatically included in the automatic live preview in the compiled clip.

Exchanging and Acquiring Components

After you have made your own components, you may be interested in distributing them. Or you may also be looking for a place to find new prebuilt elements for your Web site. Luckily, there are many extensive resources online where you can find components for download or for submission. A good place to start searching is at Macromedia:

To install components, you need to download the free Extension Manager 1.7 (or higher), which is the first version to be compatible with Flash 8. There is also a specific method for making your components ready for exchange. You need to package it into a .mxi file, which this Manager can read. The file tells the Manager information regarding the file and the creator. Information about making your components ready for the Extension Manager is available from the same section of the Web site, which includes help and FAQ links.

Web Resource 

We'd like to know what you think about this chapter. Visit www.flashsupport.com/feedback to send us your comments.


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
Part VIII: Applying ActionScript
Part IX: Integrating Components and Data-Binding
Chapter 33: Using Components
What are Components?
Why Use Components?
How to Add a Component
Where to Find Components, Assets, and Parameters
Modifying Component Color Properties and Parameters
Removing Components from Your Movie
Components in Flash 8
Understanding the Listener Event Model for Components
Using the Delegate Class to Control Scope with Listeners
Using Components in Your Movie
Modifying Components
Using Embedded Fonts with Components
Replacing Component Skins
Custom Components
Summary
Chapter 34: Binding Data and Events to Components
Chapter 35: Building an Image Gallery Component
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