[mtasc] Interfaces & Commas

JesterXL jesterxl at jessewarden.com
Thu Aug 4 15:50:39 CEST 2005


I had a class using the interface mx.rpc.Responder, and MMC wasn't compiling 
the FLA, but MTASC had no issues.

Interface:

function onResult( result:mx.rpc.ResultEvent ):Void;

Class implementation:

private function onResult(result:mx.rpc.ResultEvent ):Void
{
    // stuff
}

As soon as I removed the private, it was fine.  Apparently, MMC was implying 
either it was public, or just had no defnition at all...???

Also, had a function like this:

public function test ( someting:String
                                other:Number ) : Void


And MTASC compiled it, but MMC couldn't because of the missing comma after 
the first argument.

Using MTASC 1.09.

--JesterXL 




More information about the mtasc mailing list