Advertisement
Guest User

Untitled

a guest
May 24th, 2018
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package;
  2.  
  3. import openfl.display.Sprite;
  4.  
  5. class Main extends Sprite {
  6.  
  7.     public function new () {
  8.  
  9.     super ();
  10.  
  11.         var glsprite:GLSprite = new GLSprite();
  12.  
  13.         addChild(glsprite);
  14.  
  15.         this.graphics.beginFill(0xff0000);
  16.         this.graphics.drawRect(0,0, 10,10);
  17.     }
  18.  
  19. }
Advertisement
RAW Paste Data Copied
Advertisement