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

flash on 2009-9-24

Get Adobe Flash player
by UA_ 24 Sep 2009
/**
 * Copyright UA_ ( http://wonderfl.net/user/UA_ )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/rLaZ
 */

package {
    import flash.display.Sprite;
import flash.events.Event;
import flash.display.Bitmap;
import flash.display.BitmapData;
    public class FlashTest extends Sprite {

var mySprite:Sprite = new Sprite();
var myBitmapData:BitmapData;
var myBitmap:Bitmap; 
   
public function FlashTest() {
myBitmapData = new BitmapData(400,400,false,0x000000);
myBitmap = new Bitmap(myBitmapData);
addChild(myBitmap);   
stage.addEventListener(Event.ENTER_FRAME,onFrame);
function onFrame(event:Event):void {

var seed:uint = Math.floor(Math.random() * 100);
myBitmapData.noise(seed,0,255,7,true);
}

            
        }
    }
}