![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
All components are MovieClip objects, which are a type of symbol. To create a new component, you must first insert a new symbol into a new FLA file.
The Create New Symbol dialog box appears.
A MovieClip object has its own multiframe Timeline that plays independently of the main Timeline.
The advanced settings appear in the dialog box.
This identifier is used as symbol name, linkage name, and as the associated class name.
Note: Do not include the filename's extension; the AS 2.0 Class text box points to the packaged location of the class and not the file system's name for the file.
If the ActionScript file is in a package, you must include the package name. This field's value can be relative to the classpath or can be an absolute package path (for example, myPackage.MyComponent).
For more information on setting the Flash MX 2004 classpath, see Understanding the classpath.
Flash adds the symbol to the library and switches to symbol-editing mode. In this mode, the name of the symbol appears above the upper left corner of the Stage, and a cross hair indicates the symbol's registration point.
You can now edit this symbol and add it to your component's FLA file. (See Editing symbol layers.)
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |