I found it, selectionDuration is a style on the list classes that you can set. Set it to 0 and watch it fly :-)
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] <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 <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] <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 <http://rd.yahoo.com/SIG=129o9039t/M=298184.5022502.6152625.3001176/D=groups /S=1705007207:HM/EXP=1086380984/A=2164330/R=0/SIG=11eamf8g4/*http:/www.netfl ix.com/Default?mqso=60183350> 1e2130c.jpg 1e21366.jpg _____ Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/ <http://groups.yahoo.com/group/flexcoders/> * * To unsubscribe from this group, send an email to: * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * * Your use of Yahoo! Groups is subject to the Yahoo! Terms of <http://docs.yahoo.com/info/terms/> Service. Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/SIG=1296d8l14/M=298184.5022502.6152625.3001176/D=groups /S=1705007207:HM/EXP=1086382415/A=2164330/R=0/SIG=11eamf8g4/*http:/www.netfl ix.com/Default?mqso=60183350> click here <http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=groups/S= :HM/A=2164330/rand=368286801> _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <http://groups.yahoo.com/group/flexcoders/> * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of <http://docs.yahoo.com/info/terms/> Service. ------_=_NextPart_001_01C449B3.9EB1DB2A Content-Type: text/html <html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} tt {font-family:"Courier New";} span.EmailStyle18 {font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=EN-US link=blue vlink=blue> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>I found it, selectionDuration is a style on the list classes that you can set. Set it to 0 and watch it fly </span></font><font size=2 color=navy face=Wingdings><span style='font-size:10.0pt;font-family: Wingdings;color:navy'>J</span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Matt</span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p> <p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br> <b><span style='font-weight:bold'>From:</span></b> Marcos Neves [mailto:[EMAIL PROTECTED] <br> <b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 03, 2004 1:52 PM<br> <b><span style='font-weight:bold'>To:</span></b> [email protected]<br> <b><span style='font-weight:bold'>Subject:</span></b> RE: [flexcoders] List selection delay</span></font></p> <p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p> <p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Thanks Matt,<br> <br> 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<br> Elastic, Back, Bounce or set the duration to 0.<br> <br> At 13:29 3/6/2004 -0700, you wrote:<br> <br> <br> </span></font></p> <p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left: .5in'><font size=2 color=navy face=Arial><span style='font-size:10.0pt; font-family:Arial;color:navy'>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).<br> </span></font><br> <font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family: Arial;color:navy'> <br> </span></font><br> <font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family: Arial;color:navy'>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).<br> </span></font><br> <font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family: Arial;color:navy'> <br> </span></font><br> <font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family: Arial;color:navy'>Matt<br> </span></font><br> <font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family: Arial;color:navy'> <br> </span></font><br> <font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br> <b><span style='font-weight:bold'>From:</span></b> Marcos Neves [<a href="mailto:[EMAIL PROTECTED]" eudora=autourl>mailto:[EMAIL PROTECTED]</a>] <br> <b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 03, 2004 6:53 AM<br> <b><span style='font-weight:bold'>To:</span></b> [email protected]<br> <b><span style='font-weight:bold'>Subject:</span></b> RE: [flexcoders] List selection delay<br> </span></font><br> <br> <br> <tt><font size=2 face="Courier New"><span style='font-size:10.0pt'><?xml version="1.0" encoding="utf-8"?></span></font></tt><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br> <tt><font face="Courier New"><mx:Application xmlns:mx="<a href="http://www.macromedia.com/2003/mxml">http://www.macromedia.com/2003/mxml</a>" </font></tt><br> <tt><font face="Courier New">backgroundColor="#EEEEEE"></font></tt><br> <tt><font face="Courier New"><mx:Text></font></tt><br> <tt><font face="Courier New"> <mx:text></font></tt><br> <tt><font face="Courier New"> First select the list to update the inputs below.</font></tt><br> <tt><font face="Courier New"> Change the selected item using the keyboard.</font></tt><br> <tt><font face="Courier New"> See that the inputs are updated instantaneously.</font></tt><br> <tt><font face="Courier New"> Now using a quick mouse click, change the selection.</font></tt><br> <tt><font face="Courier New"> See that it takes about half second to update the inputs.</font></tt><br> <tt><font face="Courier New"> </mx:text></font></tt><br> <tt><font face="Courier New"></mx:Text></font></tt><br> <tt><font face="Courier New"><mx:List id="list" labelField="name"></font></tt><br> <tt><font face="Courier New"> <mx:dataProvider></font></tt><br> <tt><font face="Courier New"> <mx:Array></font></tt><br> <tt><font face="Courier New"> <mx:Object name="marcos" age="23"/></font></tt><br> <tt><font face="Courier New"> <mx:Object name="Edu" age="21"/></font></tt><br> <tt><font face="Courier New"> <mx:Object name="Ligia" age="19"/></font></tt><br> <tt><font face="Courier New"> </mx:Array></font></tt><br> <tt><font face="Courier New"> </mx:dataProvider></font></tt><br> <tt><font face="Courier New"></mx:List></font></tt><br> <tt><font face="Courier New"><mx:TextInput text="{list.selectedItem.name}"/></font></tt><br> <tt><font face="Courier New"><mx:TextInput text="{list.selectedItem.age}"/></font></tt><br> <tt><font face="Courier New"></mx:Application></font></tt><br> <br> <tt><font face="Courier New">At 14:21 3/6/2004 +0100, you wrote:</font></tt><br> <tt><font face="Courier New">Marco,</font></tt><br> <br> <tt><font face="Courier New">Sounds a bit strange; perhaps you can post a small bit of code</font></tt><br> <tt><font face="Courier New">that demonstrates your problem ?</font></tt><br> <br> <tt><font face="Courier New">Best,</font></tt><br> <br> <tt><font face="Courier New">Steven</font></tt><br> <br> <tt><font face="Courier New">--</font></tt><br> <tt><font face="Courier New">Steven Webster</font></tt><br> <tt><font face="Courier New">Technical Director</font></tt><br> <tt><font face="Courier New">iteration::two</font></tt><br> <br> <tt><font face="Courier New">> -----Original Message-----</font></tt><br> <tt><font face="Courier New">> From: Marcos Neves [<a href="mailto:[EMAIL PROTECTED]" eudora=autourl>mailto:[EMAIL PROTECTED]</a>]</font></tt><br> <tt><font face="Courier New">> Sent: 03 June 2004 14:05</font></tt><br> <tt><font face="Courier New">> To: [email protected]</font></tt><br> <tt><font face="Courier New">> Subject: [flexcoders] List selection delay</font></tt><br> <tt><font face="Courier New">></font></tt><br> <tt><font face="Courier New">></font></tt><br> <tt><font face="Courier New">> Suppose a TextInput binded to a List. When I select an item from the list,</font></tt><br> <tt><font face="Courier New">> the input is updated immediatly, right? wrong :(</font></tt><br> <br> <br> <br> <br> <br> <tt><font face="Courier New">Yahoo! Groups Links</font></tt><br> <br> <br> <br> <tt><font face="Courier New"> </font></tt><br> <br> </span></font><br> <br> <br> <b><font size=2 color="#003399"><span style='font-size:10.0pt;color:#003399; font-weight:bold'>Yahoo! Groups Sponsor</span></font></b> <br> <font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial'>ADVERTISEMENT</span></font><br> <a href="http://rd.yahoo.com/SIG=129o9039t/M=298184.5022502.6152625.3001176/D=groups/S=1705007207:HM/EXP=1086380984/A=2164330/R=0/SIG=11eamf8g4/*http:/www.netflix.com/Default?mqso=60183350"><span style='text-decoration:none'><img border=0 width=300 height=250 src="cid:[EMAIL PROTECTED]" alt=1e2130c.jpg></span></a><br> <img border=0 width=1 height=1 src="cid:[EMAIL PROTECTED]" alt=1e21366.jpg></p> <div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <hr size=2 width="100%" align=center> </span></font></div> <p class=MsoNormal style='margin-left:.5in'><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Yahoo! Groups Links </span></font></tt></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>To visit your group on the web, go to: </span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><a href="http://groups.yahoo.com/group/flexcoders/">http://groups.yahoo.com/group/flexcoders/</a> </span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>To unsubscribe from this group, send an email to: </span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a> </span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:-.25in'><font size=2 face=Symbol><span style='font-size:10.0pt;font-family:Symbol'>�<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>. </span></font></p> <p class=MsoNormal style='margin-left:.5in'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br> <br> <tt> </body> </html> ------_=_NextPart_001_01C449B3.9EB1DB2A--
<<attachment: image/jpeg>>
<<attachment: image/jpeg>>

