Acstion Script 3.0
胡玉国
勇往直前
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Timer使用小结
/** * Constructs a new Timer object with the specified delay * and repeatCount states. * * The timer does not start automatically; you must call the start() method * to start it. * @par原创 2011-11-15 15:54:07 · 699 阅读 · 0 评论 -
Flash帧标签
Flash中可以跳转到不同的帧编号,在ActionScript代码中固定要跳转到帧,如gotoAndPlay(20)。如果你需要对"时间轴"进行编辑的话,ActionScript中的代码需要修改,以使得帧编号匹配。 为了避免这个问题的一种容易的方式是:使用帧标签,而不是在代码中固定帧编号。帧标签是提供给关键帧的名称,你将不会按帧编号引用关键帧,而是按其标签引用它们。因此,即使在编辑时移动目标关键原创 2011-11-09 11:27:15 · 4132 阅读 · 0 评论 -
通过帧标签获取对应的帧
var frameNum:int = _eggFL.totalFrames; var labelArray:Array = _eggFL.currentLabels; for (var i:uint = 0; i { trace(labelArray[i].frame); } 说明: 在使用addFrameScript时传入的参数为对应的帧数-1,无法使用标签。 为了使用原创 2011-11-09 13:59:16 · 1507 阅读 · 0 评论 -
addFrameScript 函数使用
package { import flash.display.Sprite; import flash.events.Event; import flash.text.TextField; import flash.text.TextFormat; /** * ... * @author huyuguo */ public class TextInputExample e原创 2011-11-09 12:04:56 · 856 阅读 · 0 评论 -
在flash cs5.5中使用 Adobe AIR 3.1 SDK
在windows下开发的air应用(air2.6),发布到ubuntu下(air2.6),出现无法安装的情况。 需要更新windows下air发布的版本。 原文:http://kb2.adobe.com/cps/908/cpsid_90810.html 步骤如下: 软件下载地址:http://airdownload.adobe.com/air/win/download/latest/Ado转载 2012-01-09 16:20:56 · 3305 阅读 · 1 评论
分享