FLASHMX2004默认支持语法提示的AS后缀!

类别:编程语言 点击:0 评论:0 推荐:

FLASH MX 2004中AS具有语法提示功能,不过要求你必须使用特定的后缀,大家常常记不住所以我将它列在这里!

后缀

对象类型

_mc

"MovieClip"

_array

"Array"

_str

"String"

_btn

"Button"

_txt

"TextField"

_fmt

"TextFormat"

_date

"Date"

_sound

"Sound"

_xml

"XML"

_xmlnode

"XMLNode"

_xmlsocket

"XMLSocket"

_color

"Color"

_cm

"ContextMenu"

_cmi

"ContextMenuItem"

_pj

"PrintJob"

_mcl

"MovieClipLoader"

_err

"Error"

_cam

"Camera"

_lv

"LoadVars"

_lc

"LocalConnection"

_mic

"Microphone"

_nc

"NetConnection"

_ns

"NetStream"

_so

"SharedObject"

_video

"Video"


例如BUTTON将它命名为submit_btn这样你只需要输入点它就会出来相关的事件和属性

本文地址:http://com.8s8s.com/it/it26777.htm