-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|