Skinning and creating custom rating component in flex 4 (Gumbo)

March 12, 2009. Posted by Andy Hulstkamp under Actionscript 3 FXG Gumbo (Flex 4 beta)
Keywords: , , , , , , , ,

Here’s a simple rating component done in Flex 4 (Gumbo).

The skin uses two library definitions. One symbol for the active and one for the passive rating. The symbols are then placed in a passive and an active Group. A mask is used to show/hide the active group based on the rating. ActiveGroup/passiveGroup and mask are the required Skin-Parts.

The Component itself manages the rating and pushes this down to the mask by setting its width. The rating is exposed as a bindable property.

The following example usees the component with two different skins.

source is here (SDK 4.0.0.4932)



Share/Save/Bookmark

One Response to “Skinning and creating custom rating component in flex 4 (Gumbo)”

  1. vasu Says:

    Thanks Friend,

Leave a Reply