Huh? I can't see...
/**
* Copyright matacat ( http://wonderfl.net/user/matacat )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/utbM
*/
// forked from paq's あれ?見れないよ
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.net.navigateToURL;
import flash.net.URLRequest;
import flash.system.LoaderContext;
public class FlashTest extends Sprite {
public function FlashTest() {
Loader(addChild(new Loader())).load(new URLRequest("http://wonderfl.net/img/event/invisibleman/character/en/bp_"+zeroPad(Math.random()*19+1>>0)+".png"), new LoaderContext(true));
stage.addEventListener(MouseEvent.CLICK, function():void{navigateToURL(new URLRequest("http://wonderfl.net/event/invisibleman/"))});
buttonMode = true;
}
private function zeroPad(num:int):String
{
if (num < 10) return "0" + num;
return num.toString();
}
}
}