flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynjala <...@git.apache.org>
Subject [GitHub] flex-falcon pull request: Compiler fixes related to js.swc
Date Tue, 05 Jan 2016 20:15:18 GMT
Github user joshtynjala commented on the pull request:

    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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message