« Nike Team Kit Builder
» PureMVC Tutorial - Flex, PureMVC, Jabber and XIFF 3: Introduction

Actionscript 3.0, FlashDevelop, Flex 3

Using Flex 3 AdvancedDataGrid in FlashDevelop

07.14.08 | 1 Comment

Those of you attempting to use the new Flex 3 AdvancedDataGrid component in FlashDevelop might have noticed that you are getting the following error:

Error: Could not resolve <mx:AdvancedDataGrid> to a component implementation.

This is because the AdvancedDataGrid (along with a bunch of other components) are not part of the basic Flex framework, but are provided in an external swc.  Although Flex Builder 3 includes these automatically, FlashDevelop does not so you need to manually include the required components.

To do this take the following steps:

  1. Right click on the project root in the Project Manager and select Add->Library Asset…
  2. Navigate to the datavisualization.swc file (this will be in Flex Builder 3\sdks\3.0.0\frameworks\libs) and click Open
  3. Once again click on the project root and select Add->Library Asset…
  4. This time navigate to datavisualization_rb.swc (this will be in Flex Builder 3\sdks\3.0.0\frameworks\locale\en_US) and click Open

Now you will be able to use AdvancedDataGrid and all other charting components without ever touching Flash Builder 3!

P.S. If you include datavisualization.swc but forget to include datavisualization_rb.swc you will get the following error:

Error: Unable to resolve resource bundle “datamanagement” for locale “en_US”.

Hope this helps!

Social bookmarks:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

1 Comment

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


« Nike Team Kit Builder
» PureMVC Tutorial - Flex, PureMVC, Jabber and XIFF 3: Introduction