I'm getting some pretty annoying behavior in version 8.1.

I've included all the dependencies, and set up my project to compile as a AS3 project, but I'm getting an error that is looking for mx.core::UIComponent.

Code:
VerifyError: Error #1014: Class mx.core::UIComponent could not be found.
Could this be right? My project shouldn't be looking for anything in mx really, (especially the UIComponent) seeing as I am only compiling an AS3 project.

I don't want to paste too much code, but I certainly feel the error is caused by this. Anyone have any ideas?

Code:
_applicationContext = new XMLApplicationContext();
_applicationContext.addConfigLocation( loaderInfo.parameters.appContext );
_applicationContext.addEventListener( Event.COMPLETE, onComplete );
_applicationContext.load();