actionscript quick reference

 

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

 

Basic UI components, object types, and code hint suffixes

 

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

 
Standard UI Components Set 2 and Charting Controls, showing code hint suffixes and object types

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

 
UI Components Set 3, code hint suffixes, and object types

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

 

Accessing properties of various ActionScript objects

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( )

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值