Hi,

I found a bug of SkinnableComponent, when use the styleName property to change 
the skin, in certain circumstances it does not work, the skin won't change!

I've already created the JIRA issue for this bug:
https://issues.apache.org/jira/browse/FLEX-34689

I've already figured it out how to fix this bug, it's very eazy to fix:

Just modify the source code of SkinnableComponent.as, and add the following 
code to the class:

override public function set styleName(value:Object):void
{
    clearStyle("skinClass");
    super.styleName = value;
}

This will solve this bug, and I've tested it in different scenarios, it works 
correctly!

I have trouble connecting to the Flex Git, the network right now is very 
crappy, may someone review this, if passed, may he commit this change to the 
Git, that will be very nice : - )


DarkStone
2014-12-16

Reply via email to