3 Replies Latest reply on Feb 23, 2011 8:38 AM by Darrell Loverin

    How to change style property in runtime

    Maximist Level 1

      Hallo. I have this style tag in my main application:





           @namespace s "library://ns.adobe.com/flex/spark";

           @namespace mx "library://ns.adobe.com/flex/halo";




           @font-face {

           src: url("../caratteri/MyriadPro-Bold.otf");

           fontFamily: "MyriadPro-Bold";

           embedAsCFF: true;




           .mioStileMyriadProBold {


           fontLookup: embeddedCFF;







      It works good but i wish to change the fontFamily while the program is running. How can i do that?


      Thx a lot.