Flash Builder 4.7 and old projects

Oct
13

I recently decided to give the beta of Flash Builder 4.7 a try, and found a project I have been working on deciding not to compile.  All kinds of warnings (100+) showed up in my problems panel.  My project relies on a shared project, and for some reason some core files like BitmapAsset and ByteArrayAsset weren’t found.

Class mx.core::BitmapAsset could not be found.

Most google searches only turned up fixes involving the compiler flags ala:

mxmlc -static-link-runtime-shared-libraries=true

This did not fix my problem, what ultimately did though was going to my shared library’s properties, Library Path tab, and setting the combo box in the picture below to Merged into code.

This ended up clearing most errors, a few still remained but weren’t problem. It turns out that HAXE compiled swcs are causing warning to show up relating to missing: getClass.T and Null.t
These omissions don’t seem to be affecting my ability to compile, but that is probably due to the fact that I’m not using the NAPE library which depends on a HAXE compiled swc.