RE: [flexcoders] Question about error 'Can not resolve a multiname reference...'

2006-03-07 Thread Richard Schutten





Hi 
Matt,
 
I have 
no Loader in MXML. This is my code:
 
   
In 
function loadImage() i don't have to explictly use it with fully-qualified name, 
but i do have to use it in function handleComplete().
 
Also 
i still get the error message when i use import flash.display.Loader 
instead of import flash.display.* and removing flash.display. from the 
handleComplete() function.
 
Richard
 
 
 -Original Message-From: 
[email protected] [mailto:[EMAIL PROTECTED]On Behalf Of 
Matt ChotinSent: Tuesday, March 07, 2006 7:18 AMTo: 
[email protected]: RE: [flexcoders] Question about 
error 'Can not resolve a multiname reference...'

  
  Yes there is a 
  flash.display.Loader and an mx.controls.Loader.  Which one are you 
  intending to use?  If you intended to use the flash.display.Loader but 
  the mx.controls.Loader is present do you have a Loader in your MXML?  If 
  vice versa that would be a bug I think because I’m not sure why the flash 
  Loader would get imported.
   
  Matt
   
  
  
  
  
  From: 
  [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: Monday, March 06, 2006 8:08 
  AMTo: 
  [email protected]: Re: [flexcoders] Question about 
  error 'Can not resolve a multiname 
  reference...'
   
  >thought that when using import 
  mx.controls.Loader i could directly call>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 namevar 
  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 ithought 
  that when using import mx.controls.Loader i could directly callLoader. Is 
  that correct?Richard--Flexcoders Mailing 
  ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  









RE: [flexcoders] Question about error 'Can not resolve a multiname reference...'

2006-03-06 Thread Matt Chotin










Yes there is a flash.display.Loader and an
mx.controls.Loader.  Which one are you intending to use?  If you intended to
use the flash.display.Loader but the mx.controls.Loader is present do you have
a Loader in your MXML?  If vice versa that would be a bug I think because I’m
not sure why the flash Loader would get imported.

 

Matt

 









From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz
Sent: Monday, March 06, 2006 8:08
AM
To: [email protected]
Subject: Re: [flexcoders] Question
about error 'Can not resolve a multiname reference...'



 

>thought that when
using import mx.controls.Loader i could directly call
>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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  











Re: [flexcoders] Question about error 'Can not resolve a multiname reference...'

2006-03-06 Thread Abdul Qabiz



>thought that when using import mx.controls.Loader i could directly call>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 namevar 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
-abdulOn 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 ithought that when using import mx.controls.Loader
 i could directly callLoader. Is that correct?Richard--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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.