A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Problem with TextFormat(). Bold text characters disapear??

  1. #1
    Senior Member
    Join Date
    Feb 2002
    Posts
    375

    Problem with TextFormat(). Bold text characters disapear??

    I have some menu buttons that have their names loaded into them.

    I am trying to make them go bold when they are pressed using this:

    var txtFormat:TextFormat = new TextFormat();
    txtFormat.bold = true;

    function buttonPressed(){
    btnPressed._txt.setTextFormat(txtFormat)
    }

    The problem is that when I click on the button the text goes bold but a number of the characters disapear.

    Anyone know why this is happening and what the fix is?

    Cheers.

  2. #2
    Senior Member
    Join Date
    Feb 2002
    Posts
    375
    Got it sorted.

    I had to put a dummy blank txt box on the screen with bold font embedded.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center