flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)
Date Sun, 15 Nov 2015 15:55:53 GMT
Right, but I don’t see any way around this. Simple property access will not work for the
reasons I wrote above.

On Nov 15, 2015, at 5:49 PM, Alex Harui <aharui@adobe.com> wrote:

> The compiler does not know that myXML is from myClass so it would simply
> add a property access to foo.  Now we could require that folks more
> strongly type their code by adding in
>  trace((event.target.myXML as XMLList).foo);
> But we might get complaints.  The fact we normally don’t need all that
> casting is what can make AS more efficient than languages that require the
> casting like Java and C++.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message