Alex
Alex

Reputation: 4934

What's the easiest way to debug an ActionScript class file?

I'm currently using FlashBuilder to edit ActionScript 3.0 class files. I can't run the debugger in Flash Builder because the classes are actually built around the Flash Authoring Tool.

Flash Auth Tool has a lousy debugger (IMO) and it only allows breakpoints for inline Timeline scripting.

So basically I'm stuck without a debugger (that can use breakpoints).

How can I start using the Flash Builder debugger, while sticking to the .fla environment?

Or... how can I convert my .fla file into something Flash Builder can use (some MXML perhaps?)

Any help greatly appreciated..

Upvotes: 0

Views: 540

Answers (1)

Michael Aaron Safyan
Michael Aaron Safyan

Reputation: 95509

Your best friend in that case is to use copious logging. The trace function can be used for such a purpose, however it doesn't support configuration, logging levels, etc. You might want to use one of the many logging frameworks for ActionScript or implement your own for such a purpose.

Upvotes: 3

Related Questions