This content has been marked as final. Show 3 replies
The files can be wherever you want. I am assuming it's an swc file, correct?
Open Flex builder and under Project > Properties > Flex Build Path, Click on the Library Path Tab, then just click "Add SWC" and find your file! If you move the file, you will have to update this again.
Also, SWCs are compiled into the project, so when/if you upload the project you will not need the swc file on the server.
Actually, it's broken down into a folder structure like:
net:folder:helpers:file.as and another that is similar.
Do I do the same thing even though their isn't a swc? And do I need to do anything special to use the added functionality in my script or can I just instantiate the new classes, etc?
You have two choices:
- You put the library source folders directly under your project folder and you just use the classes as if they were yours.
- Or you create a new library project in Flex, point to the library source folder, select the class files that should be part of the SWC then build the SWC. Then you can add the SWC to your project as EDendramis suggested.