Possible to pass parameters to a skin?

Posted by nick on Stack Overflow See other posts from Stack Overflow or by nick
Published on 2010-04-04T12:56:12Z Indexed on 2010/04/04 13:03 UTC
Read the original article Hit count: 306

I have 2 skins, almost identical, but differ in 1 small way that can be accounted for if I could pass a Boolean to the skin while assigning it to the host component (a button).

<s:Button skinClass="MyBtnSkin" />

Is there a way while assigning the skin to the button, I could also pass a parameter to the skin somehow?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about actionscript