Force bold text on xml field

/ Published in: ActionScript 3
Save to your folder(s)

Copy this code and paste it in your HTML
  1. var normal_fmt:TextFormat = new TextFormat();
  2. normal_fmt.bold = true;
  4. textBox1_txt.text = rover_feature.items.item.title[0].toUpperCase();
  5. textBox1_txt.setTextFormat(normal_fmt);

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.