Has anyone tried using the [] syntax for executing methods on an XML object?
For instance:
myXML:XML = new XML('<a>test</a>');
trace(myXML['toXMLString']());
If you execute that you'll get a runtime error: TypeError: Error
#1006: value is not a function.
I'm guessing it's just not possible to use the [] syntax for the XML
object - just looking for confirmation.
It's like problems I've had using Proxy. It's as if "toXMLString" is
being resolved on the XML object but not returned as a function. Or
I'm just smokin the good stuff ;)
--
Derek Vadneau