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

Enumerate Prime Numbers (227letters) (Sieve of Eratosthenes)

inspired by http://twitter.com/javascripter/statuses/8367943818
Get Adobe Flash player
by nitoyon 31 Jan 2010
/**
 * Copyright nitoyon ( http://wonderfl.net/user/nitoyon )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/Ytli
 */

// inspired by http://twitter.com/javascripter/statuses/8367943818
package{import flash.display.*;public class C extends Sprite{public function C(){graphics.beginFill(0);for(var a:Array=[],c:int=1,d:int;c++<1E3;)if(!a[c]){for(d=c;d<1E3;)a[d+=c]=1;graphics.drawRect((c%10)*5,int(c/10)*5,5,5)}}}}