Suffixes used in ActionScript for code hinting
Object | Suffix |
---|---|
Array | _array |
Button | _btn |
Camera | _cam |
Color | _color |
Date | _date |
Local Connection | _connection |
Microphone | _mic |
MovieClip | _mc |
NetConnection | _conn |
NetStream | _stream |
RecordSet | _rs |
SharedObject | _so |
Sound | _sound |
String | _str |
TextField | _txt |
TextFormat | _fmt |
Video | _video |
XML | _xml |
XMLSocket | _xmlsocket |
Component | Object type | Code hints suffix |
---|---|---|
CheckBox | FCheckBox | _ch |
ComboBox | FComboBox | _cb |
ListBox | FListBox | _lb |
PushButton | FPushButton | _pb |
RadioButton | FRadioButton | _rb |
ScrollBar | FScrollBar | _sb |
ScrollPane | FScrollPane | _sp |
Component | Object type | Code hints suffix |
---|---|---|
BarChart | FBarChart | _bc |
Calendar | FCalendar | None |
DraggablePane | FDraggablePane | _dp |
IconButton | FIconButton | _ib |
LineChart | FLineChart | _lc |
MessageBox | FMessageBox | _mb |
PieChart | FPieChart | _pc |
ProgressBar | FProgressBar | _pr |
SplitView | FSplitView | None |
Ticker | FTicker | _tick |
Tree | FTree | _tr |
TreeNode (individual nodes of a Tree) | FTreeNode | _tn |
Component | Object type | Code hints suffix |
---|---|---|
AdvancedMessageBox | FAdvancedMessageBox | None available |
LoadingBox | FLoadingBox | None available |
PromptBox | FPromptBox | None available |
Tooltip | FTooltip | None available |
TooltipLite | FTooltipLite | None available |
Object | Get the data |
---|---|
AdvancedMessageBox | FAdvancedMessageBox.getButtons( )[buttonIndex] |
Calendar | FCalendar.getSelectedItem( ) or FCalendar.getSelectedItems( ) |
Checkbox | FCheckBox.getValue( ) |
ComboBox | FComboxBox.getSelectedItem( ) |
DataGrid | FDataGrid.getSelectedItem( ) or FDataGrid.getItemAt(index) |
IconButton | FIconButton.getLabel( ) or FIconButton.getValue( ) |
ListBox | FListbox.getSelectedItem( ), FListbox.getSelectedItem( ), FListbox.getSelectedIndex( ), or FListbox.getSelectedIndices( ) |
MessageBox | FMessageBox.getButton( )[buttonIndex] |
PromptBox | FPromptBox.getUserInput( ) |
PushButton | FPushButton.getLabel( ) |
RadioButton | FRadioButton.getData( ) or FRadioButton.getValue( ) |
TextField | TextField.text |
Tree | FTree.getSelectedNode( ) |