Using ActionScript 2.0 Components |
|
|
|
| Creating Components > Exporting and distributing a component > Exporting SWC files | |||
Flash provides the ability to export SWC files by exporting a movie clip as a SWC file. When exporting a SWC file, Flash reports compile-time errors as if you were testing a Flash application.
There are two reasons to export a SWC file:
You can export components as SWC files that contain all the ActionScript, SWF files, and other optional files needed to use the component.
To export a SWC file for a completed component:At different stages of development, it's a good idea to export the component as a SWC and test it in an application. If you export the SWC to the Components folder in your user-level Configuration folder, you can reload the Components panel without quitting and restarting Flash.
To test a SWC during development:Configuration/Components
|
NOTE |
For information about the location of the folder, see "Configuration folders installed with Flash" in Using Flash. |
The component appears in the Component panel.
|
|
|
|