Flex4 (Gumbo) Error 1046 Type Not Found Matrix3d - Easy Fix
If you decide to play with Gumbo (Flex 4), and that is certainly a worthwhile thing to do, you may find yourself bouncing between SDKs. That is, you might want to use the released, and likely more stable version 3.2 for most projects and save Gumbo for experimenting or projects that you really want to rotate system fonts and you don't care if the user has to upgrade to 10. You may find yourself in a situation where the Flex compiler really doesn't like you and gives you numerous errors with no given location. Something like the following:
-
Error => 1046: Type was not found or was not a compile-time constant:Matrix3D.
Resource => {mxml doc name}
Path => {empty}
Location => Unknown

You may also see an error with Vector instead of Matrix3d. In this case, the problem is a simple one.
On your Flex Compiler settings view, the required Flash Player version must be at least 10,0,0. (I just tried unchecking "Requires Flash Player version" and still no dice. Even if you don't require it, it still looks for version 10 and will bitch without it.The following shows what it ought to be for Gumbo to play nicely:



You may need to close the project in Flex first before editing this, then re-open the project and execute a Clean.
I dont have gumbo. I got this 1046 error in flex3.0. But i set the flash player version as 10.0.0. Eventhough i am getting the same problem. wt i have to do.Thanks
You say that you aren't using Gumbo, so which specific SDK are you using? Are you using any compiler arguments or even importing any libraries that might have dependencies or expectations of your project?
As for your code, depending on the size of your project, feel free to post it here for me, and others to inspect. In general, however, I would start removing/commenting code until you can compile again in order to isolate the offending code. If that doesn't work, try creating a new empty project that will compile and then incrementally import your existing work. Once you can isolate what is ruining your day, it will be significantly easier to receive assistance.
Good luck!
On the other hand maven builds the project successfully