flash on 2010-2-18
♥0 |
Line 18 |
Modified 2010-02-18 02:09:11 |
MIT License
archived:2017-03-20 04:00:07
ActionScript3 source code
/**
* Copyright uepon24 ( http://wonderfl.net/user/uepon24 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/dS8J
*/
package{
import flash.display.Sprite;
import flash.display.MovieClip;
[SWF(width="465", height="465", backgroundColor="0xCC0000",frameRate="30")]
public class WonderflBook extends Sprite{
private var _ball:MovieClip;
private var _startX:Number = 0;//Xのスタート位置
private var _endX:Number = 0;//Xのエンド位置
private var _frameCount:uint = 0;//再生ヘッド(フレーム数カウント用の変数)
private var _frameCountLimit:uint = 28;//コマ数(最終フレームの位置)
private var _animationFrames:Array;//フレーム格納用の配列
public function WonderflBook(){
_ball.graphics.beginFill(0xffffff);
_ball.graphics.drawRect(10, 10, 300, 300);
this.addChild(_
}
}
}