I want to decorate a flex Button with a cutom skin component .
But when i point the 'skin' property to the source , it says "Property skin is read only"
My Button declaration :
<s:Button id="state"
label="State View"
skin="CustomButtonSkin"
click="state_clickHandler(event)" />
This is inside a Component and CustomButtonSkin.mxml is in the same directory ...
You should set the skinClass property, not skin