Use movie clip symbols to create reusable pieces of animation. For more information, see Handling events in the ActionScript 3.0 Developer’s Guide. You define the graphics associated with various button states, and then assign actions to a button instance. Use button symbols to create interactive buttons that respond to mouse clicks, rollovers, or other actions. Graphic symbols add less to the FLA file size than buttons or movie clips because they have no timeline. Interactive controls and sounds won’t work in a graphic symbol’s animation sequence. Graphic symbols operate in sync with the main Timeline. Use graphic symbols for static images and to create reusable pieces of animation that are tied to the main Timeline. If you import library assets with the same name as assets already in the library, you can resolve naming conflicts without accidentally overwriting existing assets.Īdditional introductory instruction about symbols is available from these resources:
For assets shared during authoring, you can update or replace a symbol with any other symbol available on your local network. For runtime shared assets, you can link assets in a source document to any number of destination documents, without importing the assets into the destination document. Share symbols among documents as shared library assets during authoring or at runtime. Using symbols can also speed SWF file playback, because a symbol needs to be downloaded to Flash® Player only once. For example, you can reduce the file size of your documents by converting static graphics, such as background images, into symbols and then reusing them. Using symbols in your documents dramatically reduces file size saving several instances of a symbol requires less storage space than saving multiple copies of the contents of the symbol. Editing the symbol updates all of its instances, but applying effects to an instance of a symbol updates only that instance. An instance can be different from its parent symbol in color, size, and function.
Any symbol that you create automatically becomes part of the library for the current document.Īn instance is a copy of a symbol located on the Stage or nested inside another symbol. You can then reuse the symbol throughout your document or in other documents.Ī symbol can include artwork that you import from another application. Quick share and publish your animationsĪ symbol is a graphic, button, or movie clip that you create once in the Animate (formerly Flash Professional CC) authoring environment or by using the SimpleButton (AS 3.0) and MovieClip classes.Best Practices to optimize FLA files for Animate.Best practices - SWF application authoring guidelines.Best practices - Tips for creating content for mobile devices.Controlling external video playback with ActionScript.Export graphics and videos with Animate.Working with Custom Platform Support Plug-in.Best practices - Accessibility guidelines.Best practices - Organizing ActionScript in an application.
Publishing AIR for Android applications.