Even when you fully qualify it, the compiler does NOT know about that type.
It needs to be imported.
 
Thanks.
--
Anas Mughal
 


Tracy Spratt <[EMAIL PROTECTED]> wrote:
I can’t say “why”, but import IS mandatory, per the docs (migration pdf?), and the fully qualified path should only be used for “disambiguation”.
Tracy

From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de Bruijn
Sent: Thursday, September 07, 2006 3:27 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Why is import mandatory?
Hi,
Just a small actionscript question.
I have the following interface definition:
package a.b.c
{
    public interface SecurityWebservice
    {
         function findUser(userId:String):d.e.f.UserDto;
    }
}
It does not compile (1046: Type was not found), which I find strange since I specify the fully qualified name of the type.
When I include the statement ‘import d.e.f.UserDto;’ it compiles. Can someone explain why this is?
Thanks,
Franck


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to