Archive

Archive for the ‘Bugs’ Category

Flash CS4 Bug: Kill the Compiler With One Line of Code

January 6th, 2009

I just found a nasty little bug in Flash CS4.  One line of code will result in a project that compiles with no errors and yet no trace statements work either.

Simply put the following line of code anywhere in your project (including in any class, or on any frame on the time line):

1
var version:Number = 0.0.1;

That’s it!  Your project will (seem to) compile with no errors.
You won’t get any trace output either.

Imagine burying this line of code in a random class in a project that has hundreds of classes.  How could anyone find it?

I’m Tellin’ Y’all It’s a Sabotage.

Bugs, Flash

Flex 3 Profiler Bug

August 18th, 2008

I am running Flex 3 on Windows Vista.  For some reason, attempting to profile an application would always fail.  There were no errors or warnings… the app would launch in my browser and simply run without profiling.

The following work around worked for me:

  1. In Flex 3, click on Window > Preferences…
  2. In the Preferences window, choose Flex > Profiler > Connections
  3. Set the Port number to something other than 9999.  10001 worked for me.

That’s it!

Profiler Preferences Window

Profiler Preferences Window

Bugs, Flex 3 ,