Question

I have a project .swc made with maven. the build is successful. If I add the project to Flashbuilder, i get no errors. But if i add a .mxml file with flashbuilder, so its generated from flashbuilder.

Then i get This error:

1172: Definition mx.core:DeferredInstanceFromClass

could not be found.

if i add .as file then there is no problem.

does anyone have an idea or solution to this problem..

Thanks.

Was it helpful?

Solution

It is not clear what adding an MXML file to a Flash Builder project has to do with a SWC built from Maven.

However, errors such as the one you state often crop up when there is a SDK version mismatch between the library project and main project. So, be sure that your SWC is being compiled with the same version of the SDK that your main project uses.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top