MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 64

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

To specify settings for automatic code hints, do one of the following:
Select Edit > Preferences, and then enable or disable Code Hints on the ActionScript tab.
In the Actions panel, select Preferences from the Options pop-up menu (at the upper right of
the panel) and enable or disable Code Hints on the ActionScript tab.
If you enable code hints, you can also specify a delay in seconds before the code hints should
appear. For example, if you are new to ActionScript, you might prefer no delay so that code hints
always appear immediately. However, if you usually know what you want to type and only need
hints when you use unfamiliar language elements, you can specify a delay so that code hints don't
appear when you don't plan to use them.
To work with tooltip-style code hints:
Display the code hint by typing an open parenthesis [
1
parentheses, such as a method name, a command such as
The code hint 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
Enter a value for the parameter. If there is more than one parameter, separate the values
2
with commas.
Overloaded commands such as
be invoked with different sets of parameters) display an indicator that allows you to select the
parameter you want to set. Click the small arrow buttons or press Control+Left Arrow and
Control+Right Arrow to select the parameter.
To dismiss the code hint, do one of the following:
3
Type a closing parenthesis [
Click outside the statement.
Press Escape.
64
Chapter 3: Writing and Debugging Scripts
62).
gotoAndPlay()
].
)
] after an element that requires
(
or
if
do while
"Using suffixes to trigger code hints" on page
"Strictly typing objects to trigger code
or
(that is, functions or methods that can
for
, and so on.
62) or

Advertisement

Table of Contents
loading

Table of Contents