Search code examples
actionscript-3flex4flare

How do I inform FLEX where the Flare.Prefuse library is?


I'm very new to ActionScript/Flex programming. I have Flex 4.6 and the last Flare.Prefuse update. Flare has a src directory with subdirectories of all the various classes. Compiling sample code produces "Definition flare could not be found" which is understandable. I am just using the command line version of mxmcl to compile the code. What do I need to do to link in the Flare library?

Any help really appreciated!


Solution

  • Have a look at the -source-path and -library-path flags for mxmlc, documented here, or in mxmlc itself with mxmlc -help library-path source-path.