forked from: ホネホネ・クロック Flash - forked from: Human Clock
/**
* Copyright Ajay.Kumar ( http://wonderfl.net/user/Ajay.Kumar )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/ApBW
*/
// forked from chabudai's ホネホネ・クロック Flash - forked from: Human Clock
/**
* JS版(というかgifアニメ版)はこちら
* http://jsdo.it/chabudai/4K7S
*/
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLRequest;
import flash.system.LoaderContext;
[SWF(frameRate = 40)]
public class HoneHoneClock extends Sprite {
private var loader:Loader;
public function HoneHoneClock(){
Wonderfl.capture_delay( 10 );
var request:URLRequest = new URLRequest("http://www.chabudai.org/temp/wonderfl/honehone/honehone_clock.swf");
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, _onComplete);
loader.load(request, new LoaderContext(true));
}
private function _onComplete(e:Event):void{
loader.x=30;
loader.y=120;
addChild(loader);
}
}
}