On 3/29/06, thotskee <[EMAIL PROTECTED]> wrote:
>
> Flashcoders,
>
> I have an existing AS2 codebase that I think would benefit from using
> mtasc.
> The compile time is currently about 1 minute for the application. Not
> terrible, but not great either.
>
> The problems are:
>
> I am using includes which I have managed to get around using... but..
>
> After getting though the include issues I am having to go into the Classes
> and make modifications to a ton of them to get this thing to compile
>
> Now I am obviously not the best OOP coder or mtasc would just compile
> (right?)... but I know a enough about AS and OOP so this should be
> possible.
>
> Is there an easier way to do this or does every class need to be massaged
> to
> get mtasc to compile? Is there a -nonstrict flag (i wish)...??

I don't think so...you just have to go through and fix them all. Even a very
large project, shouldn't take you more than a day's work to convert, most
fixes are generally very simple. My coworkers always write code like this:
if(blah)
   var arg = 1
else
   var arg = 2
return arg; // ERROR: arg not defined!

which works in MMC. the solution is simple, just define 'arg' above the if
statement.


Also what if I were to try to use the Flex compiler, can it publish AS2 for
> Flash Player 7 (or maybe 8)?


I haven't heard exactly, but I'm pretty sure it doesn't compile to AS2. They
don't want to compete with mtasc I guess :P

-David R
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to