My flex source folder 'src' has these files:
src/
chatters.as
chatters.mxml
main.as
main.mxml
This is the source of 'chatters.mxml':
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="250" height="200"
contentBackgroundColor="#abcdef">
</s:Group>
This is the source of 'main.mxml':
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:local="*"
applicationComplete="run();">
<local:chatters>
</local:chatters>
</s:WindowedApplication>
All the files chatters.as, chatters.mxml, main.as, main.mxml are under default package, and the XML namespace for default package is set as xmlns:local="*" in main.mxml.
However, I get the error message: Could not resolve <local:chatters> to a component implementation when creating 'chatters' component in main.mxml.
Everything is in default package, xmlns already defined, how come flash builder shows me such error message?