Hi,

Has any else found this?

The TextInput has a "change" event, which according to the docs
"Dispatched when text in the TextInput control changes through user
input or data binding. This event does not occur if you use
ActionScript code to change the text."

The bit that seems broken is that it is NOT dispatched when databinding is used.

Try running the below app and see what you get:

The second TextInput has a change event that traces "I Changed", and
from my understanding of the docs it should fire when TextInput "one"
is updated, as a biniding is used between the 2 TextInputs.

With my testing it is only tracing out then up enter text in to the
"two" and on the "one"
---------------------------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">
        <mx:HBox>
                
                <mx:TextInput id="one" />
                <mx:TextInput id="two" text="{one.text}" change="trace('I 
Changed')" />
                
        </mx:HBox>
</mx:Application>
---------------------------------------------------------------------------------------------------------------

I am on Flex 2.0.1...

Regards,

David


PS: why is the datatype "int" lower case, as most (all) others start
with a capital?
EG: public var someInt:int = new int(); public var someString:Sting =
new String();....

Reply via email to