![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Code hints are enabled by default. By setting preferences, you can disable code hints or determine how quickly they appear. When code hints are disabled in preferences, you can still display a code hint for a specific command.
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.
(
] after an element that requires parentheses, such as a method name, a command such as if
or do while
, and so on.
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 Using suffixes to trigger code hints) or that you have strictly typed your variable or object (see Strictly typing objects to trigger code hints).
Overloaded commands such as gotoAndPlay()
or for
(that is, functions or methods that can 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.
)
].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 Using suffixes to trigger code hints) or that you have strictly typed your variable or object (see Strictly typing objects to trigger code hints).
)
] if you've already typed an open parenthesis.![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |