Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package;
- import openfl.display.Sprite;
- class Main extends Sprite {
- public function new () {
- super ();
- var glsprite:GLSprite = new GLSprite();
- addChild(glsprite);
- this.graphics.beginFill(0xff0000);
- this.graphics.drawRect(0,0, 10,10);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement