Flash MX Naming Conventions: by Type | by Prefix
Updated: June 4, 2005
This document is intended to assist in the development of naming conventions for Flash MX. Below is a table that contains a list of name types and/or data types and a column for a three-letter prefix to be used as the convention in Flash MX (in order to take advantage of MX’s context sensitive “inspector”).
bln | Boolean | blnDirX |
btn | Button | btnStim0 |
clr | Color (object) | clrClownNose |
cls | Class | clsStuff |
ctr | Counter | ctrStim |
dte | Date | dteLastMod |
fnc | Function | fncProgIndLaunch |
icr | Increment | icrStim (i.e., used in for loops) |
idx | Index | idxStim |
mth | Method | mthHoseClip |
mvc | Movie Clip | mvcProgIndChar |
nbr | Number | nbrCorrectClicks |
ojt | Object | ojtText |
prm | Parameter | prmTarget (used for passed parameters of unknown data-type) |
qty | Quantity | qtyTiming |
que | Queue | queIinstruct |
rfc | Reference | rfcClip |
rra | Array | rraStimSet |
snd | Sound | sndSqueak |
stg | String | stgUserName |
tfd | Textfield | tfdStim0 |
tfm | Text Format | tfmDisplay |
xml | XML | xmlData |
xsk | XML Socket | xskWhatever |
|