I just created a Flex Mobile project and I received this error when using an mx:LinkButton:
Could not resolve <mx:LinkButton> to a component implementation.
Here is my Application:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark">
<mx:LinkButton id="contactButton" label="Contact" />
Actually, none of the mx components are working? This is not good.
I’m using Flex 4.5.1A.
It looks like you have to manually add the mx.swc to the project (even though some mx components are included by default in Flex 4.5+).
Anyway, open your project properties window and go to the build path view. Click Add SWC and browse to:
However, you may still get 100’s of these errors:
In which case you need to add the source to the skins as described here. Click Add Source and browse to:
You may also need to add additional skins. Click Add Source and browse to: