Re: Extending Spark Button Skink

2013-10-03 Thread Alex Harui
On 10/3/13 12:22 AM, "Scott Matheson" wrote: >Hi > Good point, I could always look for another style that I can use > >In truth I need to learn how to extend spark skins to add new attributes If you are using AS (including direct calls to getStyle) and not MXML, you can add any new style by s

Re: Extending Spark Button Skink

2013-10-03 Thread Scott Matheson
ou want. > > Maurice > > -Message d'origine- > De : Scott Matheson [mailto:smathe...@intralinks.com] > Envoyé : mercredi 2 octobre 2013 22:53 > À : users@flex.apache.org > Objet : RE: Extending Spark Button Skink > > Hi > This is the solution I end

RE: Extending Spark Button Skink

2013-10-02 Thread Maurice Amsellem
t what you want. Maurice -Message d'origine- De : Scott Matheson [mailto:smathe...@intralinks.com] Envoyé : mercredi 2 octobre 2013 22:53 À : users@flex.apache.org Objet : RE: Extending Spark Button Skink Hi This is the solution I ended up with, seems to work well, using the getStyle

RE: Extending Spark Button Skink

2013-10-02 Thread Scott Matheson
From: Maurice Amsellem [maurice.amsel...@systar.com] Sent: Wednesday, October 02, 2013 5:51 PM To: users@flex.apache.org Subject: RE: Extending Spark Button Skink Hi, I just made a quick try with skin using FXG, and it get colored with chromeColor. So basically

RE: Extending Spark Button Skink

2013-10-02 Thread Maurice Amsellem
" minHeight="21" alpha.disabled="0.5"> -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : mercredi 2 octobre 2013 18:35 À : users@flex.apache.org Objet : Re: Extending Spark Button Skink

Re: Extending Spark Button Skink

2013-10-02 Thread Alex Harui
gt;still use chromeColor, but you will have to control yourself the part >>that would be colored or not. >>Make sure to set userChromeColor to true in the skin initialization >>script. >> >>Regards, >> >>Maurice >> >>-----Message d'origine

Re: Extending Spark Button Skink

2013-10-02 Thread Scott Matheson
>that would be colored or not. >Make sure to set userChromeColor to true in the skin initialization >script. > >Regards, > >Maurice > >-Message d'origine- >De : Scott Matheson [mailto:smathe...@intralinks.com] >Envoyé : mercredi 2 octobre 2013 14:58 &g

RE: Extending Spark Button Skink

2013-10-02 Thread Maurice Amsellem
ure to set userChromeColor to true in the skin initialization script. Regards, Maurice -Message d'origine- De : Scott Matheson [mailto:smathe...@intralinks.com] Envoyé : mercredi 2 octobre 2013 14:58 À : users@flex.apache.org Objet : Extending Spark Button Skink Hi I have a simple

Extending Spark Button Skink

2013-10-02 Thread Scott Matheson
Hi I have a simple problem, I have skinned a button, I need X copies of the button the only difference is color, I would like to be able to use myButton color = {HostComponent.mycolour} As a mycolour is not a property of of "spark.components.Button" I believe I have to extend "spark.compone