Friday, June 18, 2010

Very cool Flash debugger tool

While trying to do some live web debugging of a flash app I came across this great Air app that lets you see all of your trace and error statements as the app is running. It outouts the standard trace commands so there is no need to import any new classes and write to a console.

Awesome!!

http://bit.ly/ck3KpN

Sunday, June 13, 2010

Flash CS cannot find fl.core and fl.video packages

This is just strange. I was trying to import the classes in fl.core and fl.video into a Flash project and the compiler gave a "Definition could not be found." error. Apparently this has been a problem since (at least) Flash CS3. The IDE does not automatically add those libraries to the classpath so you need to do it yourself.

Here are the instructions:

Open Flash
Go to Edit>Preferences>Actionscript>ActionScript3 Settings>

and add these two paths to the Source Path:

$(AppConfig)/Component Source/Actionscript 3.0/User Interface
$(AppConfig)/Component Source/Actionscript 3.0/FLVPlayback