MACROMEDIA FLASH MX 2004-USING ACTIONSCRIPT IN FLASH Use Manual page 81

Using actionscript in flash
Hide thumbs Also See for FLASH MX 2004-USING ACTIONSCRIPT IN FLASH:
Table of Contents

Advertisement

Use the following suffixes with component instances. These suffixes do not generate code
completion in the Actions panel. However, using suffixes encourages consistency in ActionScript
that might be shared among developers.
Object
Accordion
Alert
Button
CheckBox
ComboBox
DataGrid
DateChooser
DateField
Label
List
Loader
Menu
MenuBar
NumericStepper
ProgressBar
RadioButton
ScrollPane
TextArea
TextInput
Tree
Window
Spacing and readability
Use spaces, line breaks, and tab indents to increase the readability of your code. Readability
increases by showing the code hierarchy, which you can emphasize with spacing. Spacing and
code readability are important because they make ActionScript easier to understand. This is
important for students learning ActionScript as well as experienced users working on complex
projects. Legibility is important when you are debugging ActionScript, because it is much easier
to spot errors when code is formatted correctly and properly spaced.
Put one blank line in between paragraphs of ActionScript
groups of logically related code. By breaking the code into modules, it helps users reading the
ActionScript understand its logic. For more information on spacing in classes and statements, see
"Wrapping lines of code" on page
Suffix
_acc
_alert
_button
_ch
_cb
_dg
_dc
_df
_label
_list
_ldr
_menu
_mb
_nstep
_pb
_rb
_sp
_ta
_ti
_tr
_win
103.
Paragraphs of ActionScript are
General coding conventions
81

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING ACTIONSCRIPT IN FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents