2 Replies Latest reply on Dec 3, 2013 9:05 AM by Craberoid

    Can you set a property in a SkinClass dynamically

    home_aidan Level 1


      Ive created my own class for for a button...


      <s:Button label="1" height="150" width="150" skinClass="com.skin.LayoutBtnSelector"  />



      In my LayoutBtnSelector I have added an image....


      <s:Image id="anImage" source="assets/imgs/layoutSelectors/double.png" verticalAlign="middle" horizontalAlign="center"/>



      This is all works fine but for each button I create I want to set that image Source... Is their a means to do that dynamically?