
348
USING FLASH CS4 PROFESSIONAL
ActionScript
3
To dismiss the code hint, do one of the following:
•
Type a closing parenthesis “)”.
•
Click outside the statement.
•
Press Escape.
Use menu-style code hints:
1
Display the code hint by typing a period after a variable or object name.
Menu-style code hints
2
To navigate through the code hints, use the Up and Down Arrow keys.
3
To select an item in the menu, press Enter or Tab, or double-click the item.
4
To dismiss the code hint, do one of the following:
•
Select one of the menu items.
•
Click above or below the menu window.
•
Type a closing parenthesis “)” if you’ve already typed an opening parenthesis “(“.
•
Press Escape.
Manually display a code hint
1
Click in a code location where code hints can appear, such as in the following locations:
•
After the dot (.) following a statement or command, where a property or method must be entered
•
Between parentheses [()] in a method name
2
Do one of the following:
•
Click Show Code Hint
in the Actions panel or Script window toolbar.
•
Press Spacebar (Windows) or Spacebar (Macintosh).
•
From the panel menu
(at the upper-right corner of the Actions panel), select Show Code Hint.
Reload code hints without restarting the software
❖
From the panel menu
(at the upper-right corner of the Actions panel), select Reload Code Hints.
You might need to do this if you customize Script Assist mode by writing custom methods.
Triggering code hints
You can trigger code hints in various ways.
Updated 5 March 2009