To work with menu-style code hints:
Display the code hint by typing a period after the variable or object name.
1
The code hint menu appears.
Note: If a code hint doesn't appear, make sure you haven't disabled code hints on the ActionScript
tab. If you want to display code hints for a variable or object you created, make sure that you have
named your variable or object correctly (see
that you have strictly typed your variable or object (see
hints" on page
To navigate through the code hints, use the Up and Down Arrow keys.
2
To select an item in the menu, press Return or Tab, or double-click the item.
3
To dismiss the code hint, do one of the following:
4
Select one of the menu items.
Click outside the statement.
Type a closing parenthesis [
Press Escape.
To manually display a code hint:
Click in a code location where code hints can appear. Here are some examples:
1
After the dot following a statement or command, where a property or method must
be entered
Between parentheses in a method name
Do one of the following:
2
Click the Show Code Hint button above the Script pane.
Press Control+Spacebar (Windows) or Command+Spacebar (Macintosh).
If you are working in the Actions panel, open the pop-up menu (at the right side of the title
bar), and select Show Code Hint.
Using Escape shortcut keys
You can add many elements to a script by using shortcut keys—pressing the Escape key and then
two other keys. (These shortcuts are different from the keyboard shortcuts that initiate certain
menu commands.) For example, if you are working in the Script pane and type Escape+d+o, the
following code is placed in your script, and the insertion point is placed immediately following
the word
, so you can begin typing your condition:
while
do {
} while ();
62).
] if you've already typed an open parenthesis.
)
"Using suffixes to trigger code hints" on page
"Strictly typing objects to trigger code
Using the ActionScript editor
62) or
65
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers