2 Replies Latest reply on Feb 10, 2010 7:51 AM by estanley888

    Adding mx libraries to source path causes errors in FB 3.0.2/ Flex 3.5 sdk

    estanley888

      Hi all,

       

      I am working on a ActionScript project in Flex Builder 3.0.2, using the flex 3.5 sdk.  I was having problems importing mx.controls.HorizontalList, (mx.controls.HorizontalList could not be found) so I added the src directory from the sdk to my source path.  When I did this, instead of fixing my problems, this caused more errors:

       

       

      Unable to resolve resource bundle "collections" for locale "en_US".

      Unable to resolve resource bundle "containers" for locale "en_US".

      Unable to resolve resource bundle "core" for locale "en_US".

      Unable to resolve resource bundle "effects" for locale "en_US".

      Unable to resolve resource bundle "skins" for locale "en_US".

      Unable to resolve resource bundle "styles" for locale "en_US".

       

      If I comment out all references to HorizontalList or remove the sdk's framework src directory from the source path, I get no errors.  However, I'd like to be able to use HorizontalList and I'm not understanding why I would have to add the source for it any way.  It's internal to the sdk and works fine when used in mxml files.  Can someone show me how to get access to the mx classes without breaking flex builder?

       

      Thanks,

      Erica