MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 45

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

About triggering code hints
When you work in the Actions panel or Script window, Flash can detect what action you are
entering and display a code hint. The two different styles of code hint are a tooltip that
contains the complete syntax for that action, and a pop-up menu that lists possible method or
property names (sometimes referred to as a form of code completion). A pop-up menu appears
for parameters, properties, and events when you use strict typing or naming for your objects,
as discussed in the rest of this section.
Code hints sometimes appear if you double-click an item in the Actions toolbox or click Add
(+) in the Actions panel or Script window toolbar to add actions to the Script pane. For
information on using code hints when they appear, see
Code hinting is enabled automatically for native classes that don't require you to create
and name an instance of the class, such as Math, Key, Mouse, and so on.
To ensure that code hints are enabled, the Code Hints options must be selected in the
ActionScript Preferences dialog box. For more information, see
on page
36.
Using code hints
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.
To specify settings for automatic code hints, do one of the following:
In the Actions panel or Script window, select Edit > Preferences (Windows) or Flash >
Preferences (Macintosh), click ActionScript in the Category list, and then enable or
disable Code Hints.
In the Actions panel, select Preferences from the pop-up menu (at the upper-right of the
Actions panel) and enable or disable Code Hints in the ActionScript preferences.
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
need hints only 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.
"Using code hints" on page
About coding in the Actions panel and Script window
45.
"About the Actions panel"
45

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents