Flash CS3 Documentation |
|||
| Using ActionScript 2.0 Components > Creating Components > Final steps in component development | |||
After you create the component and prepare it for packaging, you can add an icon and a tool tip. To make sure you completed all the necessary steps, you can also refer to the Component development checklist.
This section contains the following topics:
You can add an icon that represents your component in the Components panel of the Flash authoring environment.
The image must measure 18 pixels square, and you must save it in PNG format. It must be 8-bit with alpha transparency, and the upper left pixel must be transparent to support masking.
[IconFile("component_name.png")]
Tooltips appear when a user rolls the mouse over your component name or icon in the Components panel of the Flash authoring environment.
You define a tooltip in the Component Definition dialog box. You can access this dialog box from the Library options menu (Windows: Right-click, Mac: control-click) of the component's FLA file.
The Library options menu is on the right side of the Library title bar, and appears as an icon of three lines and a down triangle.
The Tool tip text box becomes editable.
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00002525.html