Also as I say in the wiki page, and I hope what I said is true, your second example should fail to compile in the swf10 runtime. The Flex compiler should notice that you are calling a non-existent super method at compile time, and complain.

There isn't a compile time error; just a runtime error.

ERROR @c3.lzx≈10: ReferenceError: Error #1070
drawmixin1.draw init
myclass.draw init


The HTML5 compile has a better error message:

ERROR: super.draw is undefined in draw
drawmixin2.draw init
drawmixin1.draw init
myclass.draw init

Reply via email to