In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

EnterFrame内 212文字 forked from: Clock

軽く1打目 EnterFrame 内 212文字
Get Adobe Flash player
by bkzen 16 Mar 2010
/**
 * Copyright bkzen ( http://wonderfl.net/user/bkzen )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/pPa7
 */

// forked from makc3d's Clock
// 軽く1打目 EnterFrame 内 212文字
package  {
	import flash.display.Sprite;
	public class Clock extends Sprite {
		public function Clock () {
			addEventListener("enterFrame", function():void {
				with(graphics)with(Math)with(new Date)c=cos,v=moveTo,l=lineTo,x=y=232,rotation=-90,clear(),v(lineStyle(2),l(99*c(s=seconds*(t=PI/30)),99*sin(s))),v(l(75*c(m=minutes*t),75*sin(m)),0),l(50*c(h=hours*t*5),50*sin(h))
			});
		}
	}
}