Skip to main content
Known Participant
July 5, 2013
Answered

how i increase the font text size.......

  • July 5, 2013
  • 1 reply
  • 417 views

fullPreloader.onLoadComplete = function(target)

    {

        new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);

        target.my_txt.text = myTitle;

        target.my_txt._y=10;

        target.my_txt.size=90;                       // its not working

        target.my_txt.textColor = 0xffffff;

       

        target.my_txt.selectable=false;

        nickey.text = myDesc;

       

    };

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Ned Murphy

Look into using the TextFormat class for contrling the appearance of the text in the textfield...

var my_fmt:TextFormat = new TextFormat();

my_fmt.size = 90;

my_fmt.color = 0xffffff;

target.my_txt.setTextFormat(my_fmt);

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
July 5, 2013

Look into using the TextFormat class for contrling the appearance of the text in the textfield...

var my_fmt:TextFormat = new TextFormat();

my_fmt.size = 90;

my_fmt.color = 0xffffff;

target.my_txt.setTextFormat(my_fmt);