flash on 2013-8-1
♥0 |
Line 17 |
Modified 2013-08-01 20:58:04 |
MIT License
archived:2017-03-20 08:53:47
ActionScript3 source code
/**
* Copyright GreekFellows ( http://wonderfl.net/user/GreekFellows )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/2yOV
*/
package {
import flash.events.Event;
import flash.display.Sprite;
public class Holo extends Sprite {
public var s:Sprite;
public function Holo() {
s = new Sprite();
this.addChild(s);
this.addEventListener(Event.ENTER_FRAME, eventor);
}
public function eventor(e:Event):void {
s.graphics.beginFill(Math.random() * 0xffffff);
s.graphics.drawCircle(mouseX, mouseY, Math.random() * 100);
s.graphics.endFill();
}
}
}