Ooops! Sorry, accidentally I replied to the last message instead of
  creating a new one. Now I set the correct subject.

  Ignore my previous post, please!

  And my problem again: 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

Reply via email to