1 Reply Latest reply on Jul 7, 2009 10:14 AM by Flex harUI

    Issue with TextInput in Flash 10

    Hillel Coren Level 1

      It looks like the TextInput has changed slightly in Flash 10. Take this example.

       

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application
          xmlns:mx="http://www.adobe.com/2006/mxml" >
         
          <mx:Script>
              <![CDATA[
                 
                  private function handleChange():void
                  {
                      trace(">> changed...");
                  }
                 
              ]]>
          </mx:Script>
         
          <mx:TextInput change="handleChange()"/>
         
      </mx:Application>

       

      If I set the "required flash player version" property to 9.0.124, when clicking enter in the TextInput no change event is dispatched. However, if I change the flash version to 10.0.0, clicking enter causes it to dispatch a change event.

       

      Is this a bug or a documented change?

       

      Thanks,

      Hillel