Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionScript 3 Labels Bold

I am dynamically adding labels to a form and I would like to set some of them to be bold. I can;t seem to find an easy way to make a label bold in ActionScript. It is very easy to do in MXML. I would think that it would simply be an attribute that is set. How do you make a label bold?

like image 369
Ryan H Avatar asked Dec 30 '22 20:12

Ryan H


1 Answers

myLabel.setStyle("fontWeight", "bold");
like image 140
Joel Hooks Avatar answered Jan 05 '23 18:01

Joel Hooks