Flex Builder 2 / Flash 9 / AS3 Compiler Errors

4 10 2007

One of the biggest difference I found migrating from AS2 to AS3 is strict data typing and better error messages. I have had less silent failures. Not that I *like* errors, but I *like* errors.

I found this link useful when I get confused by some compiler errors in Flex.

http://livedocs.adobe.com/flex/2/langref/compilerErrors.html

These are my favorite ones:
1046 Type was not found or was not a compile-time constant: _.
1118 Implicit coercion of a value with static type _ to a possibly unrelated type _.

This link is also useful on runtime errors in Flex.

http://livedocs.adobe.com/flex/2/langref/runtimeErrors.html

This one is my (least) favorite:
1009 Cannot access a property or method of a null object reference.

This link is  on Flash 9 compiler errors:

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/compilerErrors.html

The migration has made me feel programming is more about debugging than writing code. :S

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: