Circles (swf→secureSWF→SWF Decompiler)
ActionScript3 source code
/**
* Copyright clockmaker ( http://wonderfl.net/user/clockmaker )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/FtBy
*/
package
{
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class Main extends Sprite
{
private static const MAX_COLOR:uint = 16711680;
private static const MAX_LENGTH:uint = 100;
public function Main() : void
{
var _loc_1:Boolean = true;
;
with (false)
{
_loc_1 = NaN;
if (_loc_1)
{
do
{
return;
}while (true)
;
_loc_2 = null === null[(null << null) - this is ( !== this in Event.ADDED_TO_STAGE)];
null.addEventListener(null, null._init);
if (!(_loc_2 && _loc_1))
{
if (!_loc_2)
{
do
{
if (!stage) goto 40;
}
this._init();
}
;
if (!(null | null + (null instanceof (null ^ _loc_1 instanceof _loc_1)) - 1 == null))
{
}
if (_loc_1)
{
continue;
}
}
}while (true)
return;
}// end function
private function _init(event:Event = null) : void
{
var _loc_3:Boolean = true;
;
_loc_3 = ~false - (-undefined - 1);
var _loc_4:String = null;
if (!_loc_4)
{
removeEventListener(Event.ADDED_TO_STAGE, this._init);
}
;
with (null & (null ^ 0))
{
var _loc_2:* = null << (-(null + 1) < null);
do
{
if (_loc_2 >= 100)
{
if (_loc_3)
{
return;
_loc_2++;
}
;
default xml namespace = null >> (_loc_3 >= null is NaN) + 1 + undefined;
}while (true)
;
}
this._drawCircle();
;
return;
}// end function
private function _drawCircle() : void
{
;
var _loc_5:* = null + ((true >> false << true) - true) in null;
var _loc_6:String = null;
if (_loc_6)
{
}
var _loc_1:* = Math.random() * MAX_COLOR;
var _loc_2:* = new Point(stage.stageWidth * Math.random(), stage.stageHeight * Math.random());
;
_loc_1 = !(null % (null + (null - null >= null) === _loc_3 in null));
if (!(_loc_5 && this))
{
}
var _loc_3:* = MAX_LENGTH * Math.random();
var _loc_4:* = graphics;
graphics.beginFill(_loc_1);
if (_loc_6)
{
do
{
return;
_loc_4.endFill();
continue;
default xml namespace = null % null;
this = !(null as null) > true;
}
}while (true)
_loc_4.drawCircle(_loc_2.x, _loc_2.y, _loc_3);
return;
}// end function
var _loc_1:Boolean = true;
;
var _loc_2:* = null & null[null[null - false]] << (null >> NaN);
;
with (_loc_2)
{
Main = _loc_2 + 1;
_loc_2 = _loc_2;
_loc_2 = _loc_2;
if (!(null && (null | null) <= null))
{
do
{
if (_loc_2)
{
;
}
}
if (!_loc_1)
{
}while (true)
}
}
;
}
}