[3/3] git commit: [flex-sdk] [refs/heads/develop] - Increment and counterpart don't work with FlexJS '_get()' and '_set()'

2014-10-24 Thread erikdebruin
Increment and counterpart don't work with FlexJS '_get()' and '_set()' In FlexJS, all properties are converted to a set of methods, with '_get' and '_set' postfix. Calling an increment on a property in AS - myProp++ - will thus translate to 'myProp_get()++' in JS. And JS strongly objects to

Re: [3/3] git commit: [flex-sdk] [refs/heads/develop] - Increment and counterpart don't work with FlexJS '_get()' and '_set()'

2014-10-24 Thread Alex Harui
Is the plan to fix this in FalconJX so these kinds of changes aren’t necessary? -Alex On 10/24/14, 4:28 AM, erikdebr...@apache.org erikdebr...@apache.org wrote: Increment and counterpart don't work with FlexJS '_get()' and '_set()' In FlexJS, all properties are converted to a set of methods,

Re: [3/3] git commit: [flex-sdk] [refs/heads/develop] - Increment and counterpart don't work with FlexJS '_get()' and '_set()'

2014-10-24 Thread Erik de Bruin
It’s not on my list. For VF2JS I’ll be using the more modern (but not backwards compatible) approach of “Object.defineProperty” to create a ‘real’ properties with ‘get’ and ‘set’ methods. That will bring JS up to speed with AS and will prevent this (and many other) types of incompatibilities when