Search code examples
apache-flexcomponentsbuilder

Using mx components in an "actionscript project" in Flash Builder


In Flash builder, I want to create an "Actionscript Project" that uses the mx datagrid component. Unfortunately the mx/spark components don't seem to be available unless your project is a "flex project". Is there a way around this? (I really don't like using that mxml mark-up, and just want to write pure code)

thanks!


Solution

  • In ActionScript Build Path, you have to manually add SWC libraries outside Flex library as shown below (add additional libraries as per your requirement): enter image description here