StuckInTheMiddle
Programmer
I'm still fairly new to Flex and event handling so hoping someone has come across a solution for this.
I have a following Flex 3 textinput
Which works fine when a user makes a change stateChanged event fires and is captured (i do some validation in there as the user types).
However myName.Text can also be updated via Code
This doesnt fire the event I want to fire, is there a way to capture text changes that the application is doing as well as user edits?
Any assitance appreciated, I check the other events on the textinput, textarea and am open to using another control is it supports what i need.
A/
"If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the situation.
I have a following Flex 3 textinput
Code:
<mx:TextInput id="myName" text="" change="stateChanged(event)" />
Which works fine when a user makes a change stateChanged event fires and is captured (i do some validation in there as the user types).
However myName.Text can also be updated via Code
Code:
myName.text = "something";
This doesnt fire the event I want to fire, is there a way to capture text changes that the application is doing as well as user edits?
Any assitance appreciated, I check the other events on the textinput, textarea and am open to using another control is it supports what i need.
A/
"If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the situation.