6 Replies Latest reply on Jun 29, 2006 2:58 PM by eddymilner

    Rotation Text Problem

    eddymilner
      Hello to avry one ...

      have small problem , i am not flash expert but still understand rotation function it's easy but not with text field !


      //this is macromedia exemple

      var my_fmt:TextFormat = new TextFormat();
      my_fmt.font = "my font";

      this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 160, 120);
      my_txt.wordWrap = true;
      my_txt.embedFonts = true;
      my_txt.text = "Hello world";
      my_txt.setTextFormat(my_fmt);
      my_txt._rotation = 45;


      i i want to rotate this text filed but i see blank stage , text filed is not there when i tring to do rotation to it ... help pleas !