Github user joshtynjala commented on the pull request:
https://github.com/apache/flex-falcon/pull/5#issuecomment-169118912
Okay, it appears that Number and other classes with custom toString()
methods put it in the AS3 namespace. You can see that with [Number.toString()
in the API
reference](http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Number.html#toString%28%29)
and it's the same in playerglobal.swc. For some reason, I thought it was the
other way around. Regardless, ActionScript uses the AS3 namespace to avoid
conflicts in toString() and some other methods because, as Alex noted,
ActionScript is stricter than JavaScript.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---