flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [4.13.0][FLEX-34689] SkinnableComponent change skin bug (Already solved, awaiting review by others)
Date Tue, 16 Dec 2014 16:19:57 GMT
Hi Darkstone,

Can you provide more details on why this change is needed?  In theory, the
SkinnableComponent.styleChanged() method should have seen the styleName


On 12/16/14, 1:27 AM, "DarkStone" <darkstone@163.com> wrote:

>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:
>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 : - )

View raw message