Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface IFoo
- {
- var test:Int;
- }
- class Foo implements IFoo
- {
- public var test:Int;
- public function new(){}
- }
- class Main extends MovieClip
- {
- public function new()
- {
- super();
- var f = new Foo();
- }
- public static function main()
- {
- Lib.current.addChild(new Main());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment