2 ms·
I think parent must be referring to Flex components. AS3 itself had an XML library which I recall being absolute hell to work with. The better way to send thing
by noduerme 2y ago
I think parent must be referring to Flex components. AS3 itself had an XML library which I recall being absolute hell to work with. The better way to send things over the wire with AS3 was with AMF.
- theturtle32 2y agoNope. I worked with Flex and it's MXML files extensively. But the parent is talking about E4X, which was an extension to ECMAScript that allowed you to use XML elements inline with JavaScript in a manner VERY similar to how JSX is used today. It also included the ability to much more easily query and otherwise work with those XML document trees in native JavaScript.
- config_yml 2y agoNo, writing XML was the declarative part of Flex (like HTML), but AS3 had it’s own XML type so you could do things like this: var data:XML = <foo><bar>hello</bar></foo> and then data was an object instance like you’d expect