MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 63

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

Advertisement

Object type
LocalConnection
Microphone
MovieClip
MovieClipLoader
PrintJob
NetConnection
NetStream
SharedObject
Sound
String
TextField
TextFormat
Video
XML
XMLNode
XMLSocket
For information on using code hints when they appear, see
Using comments to trigger code hints
You can also use ActionScript comments to specify an object's class for code hinting. The
following example tells ActionScript that the class of the instance
If you were to enter
list of MovieClip methods and properties; if you were to enter
code hint would display a list of Array methods and properties; and so on.
// Object theObject;
// Array theArray;
// MovieClip mc;
However, Macromedia recommends using strict data typing (see
code hints" on page
of this technique, because those techniques enable code hinting automatically and make your
code more understandable.
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.
Variable suffix
_lc
_mic
_mc
_mcl
_pj
_nc
_ns
_so
_sound
_str
_txt
_fmt
_video
_xml
_xmlnode
_xmlsocket
followed by a period after these comments, a code hint would display the
mc
62) or suffixes (see
"Using suffixes to trigger code hints" on page
"Using code hints" on page
is Object, and so on.
theObject
followed by a period, a
theArray
"Strictly typing objects to trigger
Using the ActionScript editor
63.
62) instead
63

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents