标签:style io ar for sp cti on c line
编程风格:类名首字母大写,函数变量名首小写后一单词大写,常量全大写,collection类变量加s
变量定义public static var name:string=
函数定义public static function name (value:int):void{}
public所有类,protect本类及子类,internal同一包,private本类
数字类型:Boolean(true/false),int(有符整),uint(无符整),NUmber(浮点数),Date(日期)
object为最大类,new object{}={name:"AA",city:"BB"}
Array类:数组=[],引用ary[i],Arraycollection(ary)存放数组
数组处理{for each (var num in A){}取num属性--值
{for (var num in A){}取属性名num--名称
继承{接口public interface A{}
{实现public class B implements A{}
{继承public class C extends B{},覆盖override
搜索属性值pro.(@name=="p2").task
标签:style io ar for sp cti on c line
原文地址:http://www.cnblogs.com/noengi/p/3992043.html