11 2012 档案

摘要:<?xmlversion="1.0"encoding="UTF-8"?><applicationxmlns="http://ns.adobe.com/air/application/1.0"><!--Theapplicationidentifierstring,uniquetothisapplication.Required.--><id>AIRTest1</id><!--软件ID,当安装时系统将会检测同一ID软件版本,版本高的即做更新操作--><!--Us 阅读全文
posted @ 2012-11-16 20:29 ywl01 阅读(1515) 评论(0) 推荐(0)
摘要:1、返回数组中的第一个元素var letters:Array = new Array("a", "b", "c", "d", "e", "f");var someLetters:Array = letters.slice(0,1);trace(someLetters);//a2、返回数组中最后一个元素var letters:Array = new Array("a", "b", "c", "d", 阅读全文
posted @ 2012-11-14 17:44 ywl01 阅读(905) 评论(0) 推荐(0)
摘要:在as3中使用设备字体,总是无效,后经试验发现是因为不支持字体的中文名字。用字体的英文名字就可以了。 阅读全文
posted @ 2012-11-13 22:30 ywl01 阅读(171) 评论(0) 推荐(0)
摘要:1.createComplete在前applicationComplete在后,createComplete时候,application还没加进stage里,这时候侦听key是无效的,如果想在此时监听flex的全屏以及退出,是无效的。验证方法:在createComplete里trace(this.stage),输出是null,而在applictionComplete里trace(this.stage),输出时main0。2.createComplete是指可application和他的子对象创建完成并且子对象全都addchild进了application...但application还没加入r 阅读全文
posted @ 2012-11-13 22:30 ywl01 阅读(670) 评论(0) 推荐(0)