Home Free Stuff Projects Silk Icons Flex Library - Installation

Installation

After you have downloaded the Silk Icon Flex Library project archive at the bottom of the page, unzip the archive anywhere on your computer that you wish to store the source code and binary library. Next, open Flex Builder and right-click on the project that you wish to use the library in and select "Properties" from the popup context menu. When the properties window opens, select "Flex Build Path" in the left column then switch to the "Library Path" tab in the right column.

Flex Project Properties Window
Flex project property window

Next, click the "Add SWC..." button and browse to the folder where you extracted the project archive. Navigate to the bin folder under the project folder and click on the FamFam_Silk_Icons.swc file then click the "Open" button. This will add the icon library to your Flex project and all you have to do is import the com.famfamfam.icons.SilkLibrary class file using ActionScript as you would any other class.

ActionScript code to use the Silk icon library in Flex.
Import the SilkLibrary class into your MXML component or other ActionScript class files to use the library.

Run your application and you should have the Silk icons present in your application.