flash on 2010-1-8
♥0 |
Line 17 |
Modified 2010-01-08 02:20:41 |
MIT License
archived:2017-03-30 09:33:19
ActionScript3 source code
/**
* Copyright hacker_9p8x8mco ( http://wonderfl.net/user/hacker_9p8x8mco )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/w4Km
*/
package{
import flash.display.Sprite;
import caurina.transitions.Tweener;
[SWF(width=465,height=465,frameRate=30,backgroundColor=0xffffff)]
public class Sample extends Sprite{
public function Sample(){
var ball:Sprite = new Sprite();
ball.x = 100;
ball.y = 100;
ball.graphics.beginFill(0x000000);
ball.graphics.drawCircle(0,0,40);
ball.graphics.endFill();
addChild(ball);
Tweener.addTween(ball,{x:300,time:2,transition:"easeInOutSine"});
}
}
}