Excellent Job. Thanks! I think the developers already experience this. :)


At 14:42 3/6/2004 -0700, you wrote:

I found it, selectionDuration is a style on the list classes that you can set.  Set it to 0 and watch it fly J

 

Matt

 

-----Original Message-----
From: Marcos Neves [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 03, 2004 1:52 PM
To: [email protected]
Subject: RE: [flexcoders] List selection delay

 

Thanks Matt,

Perhaps a property to enable or disable this effect is enought. Style maybe. Or better, a way to set an tween function. I could use
Elastic, Back, Bounce or set the duration to 0.

At 13:29 3/6/2004 -0700, you wrote:


I have an explanation which is not really a solution.  Basically the behavior of the mouse is a little different that the keyboard.  As you noticed, when the mouse presses down an animation starts to show the selection.  I believe that event processing is deferred until after that animation finishes.  After the mouse is released the change event is fired and binding updates.  The keyboard doesn't have the same animation so it appears faster.  If you hold down the mouse on a selection for a moment, then release, you'll see the update happens very quickly (about the same as the keyboard click).

 

I'll file a usability bug that points out the difference.  I'm not sure what the cost would be to address it (maybe you can't have the selection animation if you want a fast response).

 

Matt

 

-----Original Message-----
From: Marcos Neves [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 03, 2004 6:53 AM
To: [email protected]
Subject: RE: [flexcoders] List selection delay

 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
backgroundColor="#EEEEEE">
<mx:Text>
      <mx:text>
            First select the list to update the inputs below.
            Change the selected item using the keyboard.
            See that the inputs are updated instantaneously.
            Now using a quick mouse click, change the selection.
            See that it takes about half second to update the inputs.
      </mx:text>
</mx:Text>
<mx:List id="list" labelField="name">
      <mx:dataProvider>
            <mx:Array>
                  <mx:Object name="marcos" age="23"/>
                  <mx:Object name="Edu" age="21"/>
                  <mx:Object name="Ligia" age="19"/>
            </mx:Array>
      </mx:dataProvider>
</mx:List>
<mx:TextInput text="{list.selectedItem.name}"/>
<mx:TextInput text="{list.selectedItem.age}"/>
</mx:Application>

At 14:21 3/6/2004 +0100, you wrote:
Marco,

Sounds a bit strange; perhaps you can post a small bit of code
that demonstrates your problem ?

Best,

Steven

--
Steven Webster
Technical Director
iteration::two

> -----Original Message-----
> From: Marcos Neves [mailto:[EMAIL PROTECTED]]
> Sent: 03 June 2004 14:05
> To: [email protected]
> Subject: [flexcoders] List selection delay
>
>
> Suppose a TextInput binded to a List. When I select an item from the list,
> the input is updated immediatly, right? wrong :(





Yahoo! Groups Links



 




Yahoo! Groups Sponsor
ADVERTISEMENT
2196e03.jpg
2196e71.jpg

Yahoo! Groups Links

         To visit your group on the web, go to:

         http://groups.yahoo.com/group/flexcoders/

          

         To unsubscribe from this group, send an email to:

         [EMAIL PROTECTED]

          

         Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




Yahoo! Groups Sponsor
ADVERTISEMENT
2196e99.jpg
2196efd.jpg


Yahoo! Groups Links

<<inline: 2196e03.jpg>>

<<inline: 2196e71.jpg>>

<<inline: 2196e99.jpg>>

<<inline: 2196efd.jpg>>

Reply via email to