Writing And Managing Scripts - Adobe 38039336 - Flash CS3 Professional User Manual

User guide
Hide thumbs Also See for 38039336 - Flash CS3 Professional:
Table of Contents

Advertisement

See also
"Controlling instances with behaviors" on page 225
"Add and configure a behavior" on page 226
"Create custom behaviors" on page 227

Writing and managing scripts

Use code hints
When you work in the Actions panel or Script window, the software can detect what action you are entering and
display a code hint. There are two types of code hint: a tooltip that contains the complete syntax for that action, and
a pop-up menu that lists possible ActionScript elements, such as method or property names (sometimes referred to
as a form of code completion).
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 manually display a code hint for a specific
command.
Note: If you cannot display code hints for a variable or object you created in ActionScript 2.0, but code hints are enabled
in ActionScript preferences, make sure you named your variable or object with the proper suffix or that you used strict
typing for your variable or object.
Specify preference settings for automatic code hints
• 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.
• Select Preferences from the panel menu
Hints in the ActionScript preferences.
Specify a delay for code hints
In the Actions panel or Script window, select Edit > Preferences (Windows) or Flash > Preferences (Macintosh).
1
Click ActionScript in the Category list.
2
Use the slider to select an amount of delay, in seconds.
3
Use tooltip-style code hints
Display the code hint by typing an opening parenthesis "(" after an element that requires parentheses (for example,
1
after a method name, a command such as
Opening parentheses invoke the code hints
Enter a value for the parameter.
2
(at the upper right of the Actions panel), and enable or disable Code
or
, and so on).
if
do..while
FLASH CS3
390
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash cs3 professional

Table of Contents