Hi!
Is it really not possible to use with MTASC an object instance
reference returned by the new operator without storing it in a
variable? I mean the following situation:
// works with MMC but doesn't work, with MTASC (Cannot call
// non-function object)
// fromXML() returns the reference to the object itself
authors.push(new com.ts.tungalag.Person().fromXML(node));
// works both with MMC and MTASC
var p: com.ts.tungalag.Person = new com.ts.tungalag.Person();
authors.push(p.fromXML(node));
I see that this is not a big difference, but there are a lot of such
code in my project and I would like to avoid digging through the
sources if possible.
Thanks,
Attila
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org