随笔分类 -  as

[转]深入理解Flash Player重绘
摘要:这个是tencent flash team的一篇文章,但团队的博客已经关闭了,所以就在这里备份下吧~后来有人把这篇文章又发布到9ria上了,引发了一些讨论,其中有两位大神发言了,内容在原文下方。9ria的地址是http://bbs.9ria.com/thread-46877-1-1.htmltencent flash team的原文如下:Flash Player 会以SWF内容的帧频速度来刷新需要变化的内容,而这个刷新的过程,我们通常称为“重绘(redraw)”,相信即便是初级的菜鸟也知道,只要使用的是 Debug版本的Flash Player, 右键菜单里就会有“Show Redraw Re 阅读全文

posted @ 2013-11-18 20:34 飞鸟无痕 阅读(339) 评论(0) 推荐(0)

type tips
摘要:网上有这么一篇文章,全文如下:http://bbs.9ria.com/blog-220191-18429.htmlAS3中一共有以下六种获取变量类型的方法:typeofinstanceofgetQualifiedClassNamegetQualifiedSuperclassNameisastypeof运算符用来返回基元数据的类型(所谓基元数据类型是指:int,uint,Boolean,Number,String除此以外全部都是复杂数据类型)。注意,使用typeof返回复杂数据类型时将始终得到“Object”。typeof的使用方法如下例所示:varsize:int=10;varcolor:ui 阅读全文

posted @ 2013-11-18 19:51 飞鸟无痕 阅读(240) 评论(0) 推荐(0)

textfield tips
摘要:关于autoSize和align属性比较好的解释,摘录下。autoSizedeals with expanding the bounds of the TextField to ensure all text is visiblealigndeals with the alignment of text within your TextField0,0is always the TextField top-left.Imagine a TextField with multiple lines of text. Align will define where the beginning of 阅读全文

posted @ 2013-11-12 22:31 飞鸟无痕 阅读(192) 评论(0) 推荐(0)

[转]AS语言基础
摘要:┏━━━━━━━━━━━━━━━━━━┓ ┃ 第一部分:ActionScript 3 语言基础 ┃ ┗━━━━━━━━━━━━━━━━━━┛ ================================================ 第2章 ActionScript 3 语言基本元素 ================================================ 2.1.2 数据类型概述 简单数据类型 Boolean(布尔)、int(有符整型)、Number(浮点)、String(字符串)、uint(无符整型) 复杂数据类型 Array(数组)、Date(日期)、Err 阅读全文

posted @ 2012-03-30 15:47 飞鸟无痕 阅读(847) 评论(0) 推荐(0)

导航