Bruce I'll see if I can explain it.
The xmlns (XML Namespace) is used by mxml to state where component(s) are located. It is basically the same as using an import statement in Actionscript. In the namespace (Or import statement) think of the dots as directory (or folder) delimiters. So, in your case, in the src folder there would be a com folder. In that folder will be a adobe folder. In that folder will be a flex folder. In that folder will be a extras folder. In that folder will be a controls folder. In that folder will be a component named AutoComplete. Now, you could actually have this in your own source or it could be set up in a SWC in the libs directory. If you don't have the SWC then Flex will look for the specific directory structure as above. If both are missing then you will get this error. --- In [email protected], "brucewhealton" <br...@...> wrote: > > Hello all, > I have this code that I copied from a text book on Flex. I'm > aware of package notation but I'm not sure how this works in this > example and what is going wrong. In the code, I have within the > Application tag, a namespace definition. So, the Application tag > opens like this: > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="vertical" > xmlns:ec="com.adobe.flex.extras.controls.*"> > > I'm cutting out what is not relevant to the problem. The problem is > that this tag is not recognized by Flex 3, it gives a compile time error: > <ec:AutoComplete id="nameField" labelField="name" lookAhead="true" /> > I guess I need to figure out what is inside the controls package that > is named above in the Application. > The error I get on that line is > 1046: Type was not found or was not a Compile time constant: AutoComplete. > How might I figure this out? The text where I found this does not > elaborate on this particular code. It is an example of coding that is > a little different then what I am familiar with. > > Can anyone help me make sense of this, please? > Bruce >

