I came across an issue with ASDT 0.0.8 build 5 and MTASC. I have my ASDT setup so when I save an actionscript file it runs MTASC to syntax check the file. I found that with the latest ASDT I was getting errors on save for missing classes such as mx.controls.Label or mx.utils.Delegate even though I had imported those classes. When I used flashout to compile the entire project it worked fine, so was i sumized was that the new ASDT is not passing the "core" classes path to MTASC on a save which would be set in eclipse under:
window | preferences | Actionscript 2 | Core Path
so what I did to fix it was add the core classpath to the mtasc arguments here :
window | preferences | Actionscript 2 | Compiler | MTASC
and in the "More Parameters" box I added the line
-cp "C:\Program Files\Macromedia\Flash MX 2004\en\First Run\Classes"
now I can syntax check on save.
Grant.
Comments