随笔分类 -  AS3.0

缓动
摘要:/*舞台上有mc、mc1、mc2*//*import gs.TweenLite;TweenLite.to(mc, 1, {x:240, y:202,alpha:0});TweenLite.to(mc1, 1, {x:240, y:165});*/import fl.transitions.*; import fl.transitions.easing.Elastic; //var myTransitionManager:TransitionManager = new TransitionManager(mc); //myTransitionManager.startTransition(... 阅读全文
posted @ 2011-08-04 11:22 602147629 阅读(343) 评论(0) 推荐(0)
XMLList
摘要:/*下例创建名为 books 的 XML 属性并将多个带有 book publisher 和 name 标签的项添加到名为 books 的节点。然后调用 showBooksByPublisher() 方法,该方法接收 XMLList 并返回与发行人“Addison-Wesley”匹配的每一项。 */var books:XML= <books> <book publisher="Addison-Wesley" name="Design Patterns" /> <book publisher="Addison-Wes 阅读全文
posted @ 2011-06-09 13:28 602147629 阅读(197) 评论(0) 推荐(0)