1 Reply Latest reply on Sep 23, 2008 1:00 AM by Devendran

    Change font in learning interaction control button

    Mark Clive
      I've managed to change the skinning on the check buttons for this multiple choice quiz I'm making, but I can't for the life me figure out how to change the font and skin on the control button. Also need to change the font on checkboxes.

      Any help is appreciated, this is the one thing that's holding this project up.

      mark
        • 1. Re: Change font in learning interaction control button
          Devendran Level 1
          To change the Font use

          myCheckBox.setStyle("fontFamily","yourFontName");

          To set the Button Skin dynamically use the following
          and give a linkage name of a MovieClip to the below property of button

          falseUpSkin
          falseDownSkin
          falseOverSkin
          falseDisabled
          trueUpSkin
          trueDownSkin
          trueOverSkin
          trueDisabledSkin


          For more details about the Skinning see Flash help
          Help > Action script 2.0 components Language reference > Button component > Customizing the button component