- 博客(5)
- 资源 (7)
- 收藏
- 关注
原创 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 644
原创 单独获取当前的年,月,日,时,分,秒
单独获取当前的年,月,日,时,分,秒Calendar cal=Calendar.getInstance(); cal.setTime(new java.util.Date()); int year=cal.get(Calendar.YEAR); int month=cal.get(Calendar.MONTH)+1; int date=cal.get(Calenda
2011-11-12 14:49:32 510
原创 通过帧标签获取对应的帧
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 1442
原创 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 803
原创 Flash帧标签
Flash中可以跳转到不同的帧编号,在ActionScript代码中固定要跳转到帧,如gotoAndPlay(20)。如果你需要对"时间轴"进行编辑的话,ActionScript中的代码需要修改,以使得帧编号匹配。为了避免这个问题的一种容易的方式是:使用帧标签,而不是在代码中固定帧编号。帧标签是提供给关键帧的名称,你将不会按帧编号引用关键帧,而是按其标签引用它们。因此,即使在编辑时移动目标关键
2011-11-09 11:27:15 4030
Yii2 Application Development Cookbook
2018-06-05
Node.js v0.10.30 Manual & Documentation
2014-08-13
SmartFoxServer 2X
2012-03-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人