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

115 Views Asked by At

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!

2

There are 2 best solutions below

1
On BEST ANSWER

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.

0
On

The swc for the library should be placed in the "lib" folder under src. That usually does the trick, but that when using Flex builder.