Skip navigation
kvanderwende
Currently Being Moderated

Can not resolve a multiname reference unambiguously

Feb 9, 2013 5:17 AM

I have upgraded a project compiled using SDK 3.3 to 4.6.  Everything build fine except I get 7 errors like the one below.  I've seen several threads on the topic that just end with no resolution.  I found one that said "Sorry to waste everyone's time it was an easy fix" with no explanation of the fix.

 

Error:

Can not resolve a multiname reference unambiguously.  _class_embed_css__resources_images_dialog_close_default_png_825052198 _227383202

(from _class_embed_css__resources_images_dialog_close_default_png_825052198 _227383202.as)

and com.marketlinx.cma.ui.dialogs:_class_embed_css__resources_images_dial og_close_default_png_825052198_227383202

(from com\marketlinx\cma\ui\dialogs\_class_embed_css__resources_images_dial og_close_default_png_825052198_227383202.as)

are available.    PresentationManagerDialog.mxml    /CmaWizard/src/com/marketlinx/cma/ui/dialogs    Unknown    Flex Problem

 

I searched all of the code and the images are only embedded once in a stylesheet.  The file throwing the compile time error has <mx:Style source="resources/styles/presentationManager.css" /> in it.  If I remove that it builds and will run but I am missing several images.  It would seem the css is necessary.  Unfortunately the project is several years old and all of the people who originally did the work are no longer here.

 

I've tried cleaning and changing incremental build to false.  Any ideas on how to resolve this?

 

Thanks,

Kevin

 
Replies
  • Currently Being Moderated
    Feb 9, 2013 7:33 AM   in reply to kvanderwende

    It is unusual to have a fie called things like:         classembed_css__resources_images_dialog_close_default_png_825052198_2273832 02.as

     

    Those file names are usually generated by the compiler and not part of a project’s source files.  I would try moving that file outside the source-path and see if everything builds.  Any other file that references that file might be better off getting that asset via getStyle instead of a direct embed.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 9, 2013 8:40 PM   in reply to kvanderwende

    Sure, starting from fresh directories might clear this up.  Is classembed_css__resources_images_dial og_close_default_png_825052198_227383202.as under source control?  It shouldn’t be, like I said I think is generated.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points