I am working in Flex. I want to set style bold / italic / underline depending upon the selection of a buttons.
I am using the following to set the font style/weight but it is not working.
I want to set the bold and italic formatting dynamically upon clicking BOLD or ITALIC button given in the application.
Please help me with this.
var txt:TextInput = new TextInput();