home support FAQ resources services partners contact us contact us
 Flash MX Previous  Next  
 Tutorial

Using the Reference panel

You can use the Reference panel to view detailed descriptions of the actions listed in the Actions toolbox. The panel also displays sample code, which you can copy and paste into the Script pane of the Actions panel. You can also adjust the font size and print the contents of Reference panel. To view a description and sample code for an action, do one of the following:

• Click an action in the Actions toolbox, then click the Reference button.
• Choose Window > Reference.
• Press Control+Alt+Shift+F1 (Windows) or Command+Alt+Shift+F1 (Macintosh).
• In normal mode, select an action in the Script pane and click the Reference button at the
upper right above the Script pane.

To copy and paste sample code:

1 Highlight the code and right-click (Windows) or Control-click (Macintosh), then select Copy from the context menu.

2 In the Script pane, right-click (Windows) or Control-click (Macintosh) and select Paste from the context menu or from the pop-up menu in the upper right. To change the font size:

Select Large, Medium, or Small Font from the pop-up menu in the upper right of the Reference panel.

To print the contents of the Reference panel:

Select Print from either the context menu or the pop-up menu in the upper right of the Reference panel.

Using an external text editor

You can use a text editor to write and edit ActionScript outside the Actions panel. You can export actions from the Actions panel to a text file, import a text file into the Actions panel, or use the include action to add an external script file at runtime.

For more information about using the ActionScript language

To export actions as a text file:

1 From the Actions panel pop-up menu (at the upper right of the panel), choose Export as File or press Control+Shift+X (Windows) or Command+Shift+X (Macintosh).

2 Choose a location where the file will be saved, and click Save.

You can then edit the file in an external text editor.

To import a text file containing ActionScript:

1 From the Actions panel pop-up menu, choose the Import from File command or press Control+Shift+I (Windows) or Command+Shift+I (Macintosh).

2 Select a text file containing ActionScript, and click Open.

Scripts with syntax errors can be imported only in expert mode. In normal mode, you’ll receive an error message.
Previous  Next  
Link Partners: Asia florist, Flowers to India, Hong kong flowers, Site submit, Cheap web hosting, China florist, Japan florist