2 Replies Latest reply on May 22, 2009 1:58 AM by @flash

    setTextFormat not working in AS 1.0

    @flash

      hi,

       

      When i compile the flash player with AS 2.0, below script works perfect. i am compiling same script with AS 1.0 means it never works.

      i think setTextFormat is available from AS 1.0


      Text1.text = "10";
      var myformat:TextFormat = new TextFormat();
      myformat.letterSpacing = -4;
      Text1.setTextFormat(myformat);

       

      Any of you can explain it.....

       

       

      Thanks in Advance,

      ayathas