>Loader. Is that correct?
Right, but there is one Loader class in Flash Player API also, not sure if that is the reason you are getting that error...
If that is the case, you have to explictly use it with fully-qualified name
var loader:Loader = new mx.controls.Loader();
If that is the problem then compiler should be little more smart to understand things and make it easier for developers....
-abdul
On 3/6/06, Richard Schutten <[EMAIL PROTECTED]> wrote:
Hi there,
Why do i get the following error on building the project?
Can not resolve a multiname reference unambiguously. flash.display:Loader
(...\framework.swc(mx/controls/Loader)) are available.
For example: I've used:
import mx.controls.Loader;
var myLoader:Loader = new Loader();
When i prepend mx.controls. for each Loader the problem is solved. But i
thought that when using import mx.controls.Loader i could directly call
Loader. Is that correct?
Richard
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.