Application Development Tips and Tricks > Coding conventions > Naming variables to support code hinting |
![]() ![]() ![]() |
Naming variables to support code hinting
The Macromedia Flash MX ActionScript editor has built-in code hinting support. To take advantage of this, variables must be named in a specific format. The default format is to add a suffix to the variable name that indicates the variable type. Below is a table of supported suffix strings.
Object type |
Suffix string |
Example |
Camera |
|
|
Video |
|
|
Microphone |
|
|
NetConnection |
|
|
NetStream |
|
|
SharedObject |
|
|
![]() ![]() ![]() |