I'm using something like this in my MXML file:
<s:label id='mxml_label' text.state1='test' text.state2='test 2' />
Now i would like to change the state1 text from as3 on runtime.
Anyone any suggestions?
thx.
I'm using something like this in my MXML file:
<s:label id='mxml_label' text.state1='test' text.state2='test 2' />
Now i would like to change the state1 text from as3 on runtime.
Anyone any suggestions?
thx.
You could bind the text for state1 to a bindable string variable that you will then update whenever you want.
Then your expression becomes :