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内 168文字 forked from: Clock

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

// forked from meat18's forked from: EnterFrame内 192文字 forked from: Clock
// forked from bkzen's EnterFrame内 212文字 forked from: Clock
// forked from makc3d's Clock
// 軽く1打目 EnterFrame 内 212文字

package {
	import flash.display.Sprite;
	public class FlashTest extends Sprite {
		public function FlashTest() {
			addEventListener("enterFrame", function():void {
				with(graphics)with(new Date)with(Math)for(clear(),lineStyle(k=2);k<5;x=y=232)l=50*k,moveTo(0,0),lineTo(sin(i=[,,hours,minutes,seconds][k]*PI/(++k%3?30:6))*l,-cos(i)*l)
			});
        }
    }
}
//with(graphics)with(new Date)with(Math)
//	for(clear(),lineStyle(k=2);k<5;x=y=232)
//		l=50*k,
//		moveTo(0,0),
//		lineTo(sin(i=[,,hours,minutes,seconds][k]*PI/(++k%3?30:6))*l,-cos(i)*l)