Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface IFoo
- {
- var testvar:Int;
- }
- class Foo implements IFoo
- {
- public var testvar:Int;
- public function new(){}
- }
- class Main extends MovieClip
- {
- public function new()
- {
- super();
- var f:IFoo = new Foo();
- /*
- 8) [0x5D] findpropstrict multinames[17] -> Foo
- 9) [0x4A] constructprop multinames[17] -> Foo (arg_count = 0)
- 10) [0x80] coerce multinames[13] -> IFoo
- 11) [0xD5] setlocal1
- */
- f.testvar;
- /*
- 13) [0xD1] getlocal1
- 14) [0x66] getproperty multinames[14] -> testvar
- */
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment