hi again,

ok, my bad, I pointed to the wrong mtasc-classes (std instead of std8).
it had to close and restart eclipse to reflect the path-change and allow
mtasc to use the right classes.

there are no compilation errors and warnings anymore, but the
'Problems'-tab says: 'parse error Unexpected add'...

thanks,
martin




> >hi all,
> >
> >I followed this tutorial: 
> >http://www.pasz.com/articles/InstallMTASC/default.html and I 
> >get a proper compiled swf-file BUT I also get a "type error 
> >class not found: flash.geom.Point"
> >
> >here the code:
> >
> >/**
> > * @author martink65
> > */
> >class Test {
> >      function Test(scope:MovieClip) {
> >     //local function: drawPoint
> >       var drawPoint = function(p:flash.geom.Point, 
> >size:Number, tgt:MovieClip, color: Number){
> >         if (!color) color = 0xFF0000; //black
> >          tgt.lineStyle(size, color);
> >          tgt.moveTo(p.x-1, p.y);
> >          tgt.lineTo(p.x+1, p.y);
> >          tgt.moveTo(p.x, p.y-1);
> >          tgt.lineTo(p.x, p.y+1);
> >        }
> >     
> >     //Draw a diagonal line of Points 10 pixels apart
> >        for(var i = 10; i < 200; i += 10){
> >          var myPoint = new flash.geom.Point(i,i);
> >          drawPoint(myPoint, 5, scope);
> >        }
> >     }
> >     
> >     //Main Entry Point
> >     static function main() {
> >       var test:Test = new Test(_root);
> >     }
> >}
> >
> >
> >I wonder why the class gets compiled even if mtasc gives an 
> >error? someone can please explain to me what's going on - 
> >thank you, martin
> >
> >
> >
> >
> >
> >
> >www.martink65.com
> >
> >
> >
> >-- 
> >No virus found in this outgoing message.
> >Checked by AVG Free Edition.
> >Version: 7.1.375 / Virus Database: 267.15.11/264 - Release 
> >Date: 17.02.2006
> >
> >
> >_______________________________________________
> >osflash mailing list
> >[email protected] 
> >http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> >-- 
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.1.375 / Virus Database: 267.15.11/264 - Release 
> >Date: 17.02.2006
> >
> >



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 17.02.2006


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to