Hi guys, i'm trying to make an application for a Q&A format, but i'm having difficulties with one last thing.
I have 10 buttons made, what i need is -
I want to click on a button, and it should exchange the text in it from Answer 1 to XPTO
same for button 2 to YYYY and so on.
Can you help please?
You could do something like this:
<mx:Button id="Button1" label="My Initial Label" click="Button1.label='My Answer'"/>
or look into ToggleButton: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Toggle Button.html