May be your flex Build path is not pointing to the required path. 

Thanks,

with Regards,
Jitendra Jain


--- On Fri, 9/1/09, brucewhealton <[email protected]> wrote:

From: brucewhealton <[email protected]>
Subject: [flexcoders] Namespace declaration problem
To: [email protected]
Date: Friday, 9 January, 2009, 7:55 AM






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

 














      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Reply via email to