20:35:13:037 prop fromExt before all is:undefined 20:35:13:037 prop fromExt after init()is:10 20:35:13:037 prop fromExt after super()is:10
but for Flash last output is NaN.
It is a Haxe issue or Flash works exactly as expected?
Andre Lacasse
unread,
Mar 12, 2015, 12:54:13 PM3/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
The call to super in Haxe probably initialize the class member to a default value, in this case NaN. The same code in AS3 give correct result. You normally call super() before everything in my opinion.