flash on 2010-3-22
/**
* Copyright hacker_9p8x8mco ( http://wonderfl.net/user/hacker_9p8x8mco )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/hofY
*/
package {
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var bmpdata:BitmapData;
bmpdata = new BitmapData(stage.stageWidth/2,stage.stageHeight/2,false,0xff0000);
addChild(new Bitmap(bmpdata));
}
}
}