How to use package?

I found this package on the net but I don’t know how can I use it in my movie. So could someone be so kind and give me an easy to understand example. here is the package.

package {
import fl.controls.listClasses.CellRenderer;
import fl.controls.listClasses.ICellRenderer;
import fl.controls.listClasses.ListData;
class MyRenderer extends CellRenderer {
public var customProperty:String = “foo”;
public function MyRendererFn() {
var originalStyles:Object = CellRenderer.getStyleDefinition();
setStyle(“upSkin”,BlueBackground);
setStyle(“downSkin”,OrangeBackground);
setStyle(“overSkin”,OrangeBackground);
setStyle(“selectedUpSkin”,originalStyles.selectedUpSkin);
setStyle(“selectedDownSkin”,originalStyles.selectedDownSkin);
setStyle(“selectedOverSkin”,originalStyles.selectedOverSkin);
}
}
}