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] [mailto:[EMAIL PROTECTED] On Behalf Of Franck de Bruijn
Sent: Thursday, September 07, 2006 3:27 PM
To: [email protected]
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

__._,_.___

--
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


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to