|
Thanks, Matt. I’m from the JAVA-area and there you
don’t need an import statement if you fully qualify your types. I more or
less expected ActionScript to behave similarly. Good that you managed the wildcard thing,
that helps in my case, although it’s a not-so-nice solution. Cheers, Franck From: You can learn more about the actual language construct in the
directives section of the ES4 spec: http://developer. The language designers decided that introducing a class into the
system requires explicitly bringing it in (we actually had to fight for
wildcard importing). I don’t have a great justification for you,
only that it’s intentional. Matt From: Hi, Just a small actionscript question. I have the following interface definition: package a.b.c { public interface SecurityWebservice { function
findUser(userId: } } 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
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 __,_._,___ |
- RE: [flexcoders] Why is import mandatory? Franck de Bruijn
- RE: [flexcoders] Why is import mandatory? Franck de Bruijn
- RE: [flexcoders] Why is import mandatory? Franck de Bruijn

