Flex: How does the compiler know about dependencies?

I am completely new to Flex and am just playing around with the sample application from the Mate framework. I am a Linux hacker, so I am using the command line and text editor, not Flex Builder.

The sample application has two folders in the root directory lib and src. Lib contains a dependency. How can I compile the mxml file to src so that the compiler knows about the dependency in lib?

I am currently running $ mxmlc sampleApp / src / sampleApp.mxml

The compiler throws an exception that the component implementation cannot resolve. I know this component is part of a dependency in the lib folder. So this is obviously not auto-picking.

Any help would be appreciated.

Hello,

Chris

0


source to share


1 answer


You must provide the path to the libraries, this can be done either with a command line argument or by nesting it in a config file. Cm:



http://livedocs.adobe.com/flex/3/html/compilers_19.html#158337

+1


source







All Articles