jan_flanders

Untitled

Aug 11th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  interface IFoo
  2.  {
  3.     var test:Int;
  4.  }
  5.  class Foo implements IFoo
  6.  {
  7.     public var test:Int;
  8.     public function new(){}
  9.  }
  10. class Main extends MovieClip
  11. {
  12.     public function new()
  13.     {
  14.         super();
  15.         var f = new Foo();
  16.     }
  17.    
  18.     public static function main()
  19.     {
  20.         Lib.current.addChild(new Main());
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment