4 Replies Latest reply on Mar 23, 2010 8:30 AM by TomBurgundy

    Setting an undeclared style in MXML

    TomBurgundy Level 1

      Hi folks,

       

      for a component that renders via a programmatic skin I would like to set style values in MXML, which are not declared by the component.

       

      Lets say I had developed a skin for a button that makes the border blink, and I need a "border-blink-color" style.

       

      The following code obviously wouldn't work

       

      <mx:Button borderBlinkColor="#ff8822" label="Test" />

       

      however, setting it via CSS or AS works.

       

      Now is there a way to achieve my goal using MXML?