4 Replies Latest reply on Jan 21, 2013 1:41 PM by Trevorׅ

    Formating a dynamic text (box) [AS2]

    Trevorׅ Adobe Community Professional

      Hi,

       

      I have a button called B and a dynamic text box called T

       

      How can I make the text box

           1) change it's fill color?

           2) change it text font?

           3) change the text font style to bold or to regular?

           4) put a colored stroke around the frame?

       

      To place text in the frame upon click of the button I would use

       

      B.onRelease = function() {T.text = "foo"};

       

      Also Is there a way of changing the color of a button on clicking or passing over it?

       

      I need to do this in AS2

       

      Thanks in advance

       

      Trevor