ColorMatrix test
♥0 |
Line 20 |
Modified 2013-12-02 16:50:26 |
MIT License
archived:2017-03-20 11:05:56
ActionScript3 source code
/**
* Copyright ifree ( http://wonderfl.net/user/ifree )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/nT8o
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var item:Item=new Item();
addChild(item);
}
}
}
import flash.display.Graphics;
import flash.display.Sprite;
class Item extends Sprite
{
public function Item()
{
this.graphics.beginFill(0xff0000);
this.graphics.drawRect(0,0,300,300);
this.graphics.endFill();
}
}