I want to add a SWC file to my Flex Project so I can start using its components.
I'm not using Flex Builder and need to know how to do this without it.
The docs say you can add library-path and say where the file is.
So I tried it and Its not working so I'm doing something wrong.
This is what I tired to do:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:degrafa="http://www.degrafa.com/2007" frameRate="25" backgroundColor="0xCCCCCC" paddingTop="0" paddingLeft="0" paddingRight="0" paddingBottom="0" creationComplete="onCreationComplete()" >
<degrafa:Surface verticalCenter="0" horizontalCenter="0">
mxmlc main.mxml -library-path=lib
And I've placed the swc within a directory called SWC.
Any suggestions on how to compile a flex project and including a SWC?