RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-23 Thread Benoit Hediard






Indeed, making all my VO classes dynamic solves the 
problem.
Not very "clean", but excellent workaround 
;).
 
Thanks.
 
Benoit Hediard


De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de jeremy 
luEnvoyé : jeudi 23 mars 2006 05:51À : 
flexcoders@yahoogroups.comObjet : Re: [flexcoders] Flex2 beta2 
bug - Focus does not work on lists
try make your VO class dynamic...flex framework will 
add-in another UID.
On 3/23/06, Benoit 
Hediard <[EMAIL PROTECTED] > 
wrote:

  
  But 
  "uid" is a property that we already use on all our value 
  objects.
  I 
  don't want flex to overwrite this property...
   
  Is 
  there a workaround?
   
  Benoit 
  Hediard
  
  
  De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Mac 
  MartineEnvoyé : mercredi 22 mars 2006 19:32À : 
  flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Flex2 beta2 bug - Focus does not work on 
  lists
  
  
  
  
  You need to implement 
  IUID, because otherwise the renderers do not have unique 
  id's.
  
  I have an example 
  here:
  
  http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html
  
  
  
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf 
  Of Alisdair MillsSent: Wednesday, March 22, 2006 3:05 
  AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2 beta2 bug 
  - Focus does not work on lists
  
  
  thanks Benoit for tracking that bug down. I noticed 
  the same thing happening with lists yesterday when moving an app over to beta 
  2. Was going to spend some time this afternoon looking into but you have saved 
  me both the time and frustration :)
  
  
  
  cheers, Al
  
  
  
  On 22 Mar 2006, at 10:51, Benoit Hediard 
  wrote:
  
  There is a pretty annoying bug in the new Beta2... 
  ;)The mouse over and 
  focus does not work anymore on lists, when using 
  classinstances as 
  items.The focus is always on the 
  last visible list row.To 
  reproduce the problem.-ItemVO.as-package {public class ItemVO {    
  public var label:String;  
    public function ItemVO() 
  {   label = 
  "";  
  }}}-ListFocusBug.mxml- 
  http://www.adobe.com/2006/mxml" xmlns="*"layout="vertical">    
      
      
        click="loadWithClassInstances()" 
  />          
    
  dataProvider="{collection}"  
    rowCount="5"  
    width="180" />When loaded with objects, it 
  works.When loaded with class 
  instances, it does not work.I 
  haven't found any workaround right now...Benoit 
  Hediard--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  
  YAHOO! GROUPS 
  LINKS 
  
  
 Visit your group " 
flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  
[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
  
  
  
  
  
  
  
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

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






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-22 Thread jeremy lu



try make your VO class dynamic...flex framework will add-in another UID.On 3/23/06, Benoit Hediard <[EMAIL PROTECTED]
> wrote:





But "uid" is a property that we already use on all our 
value objects.
I don't want flex to overwrite this 
property...
 
Is there a workaround?
 
Benoit Hediard


De : flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] De la part de Mac 
MartineEnvoyé : mercredi 22 mars 2006 19:32À : 
flexcoders@yahoogroups.comObjet : RE: [flexcoders] Flex2 beta2 
bug - Focus does not work on lists



You need to implement 
IUID, because otherwise the renderers do not have unique 
id's.

I have an example 
here:


http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html







From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Alisdair MillsSent: Wednesday, March 22, 2006 3:05 
AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2 beta2 bug - 
Focus does not work on lists


thanks Benoit for tracking that bug down. I noticed the 
same thing happening with lists yesterday when moving an app over to beta 2. Was 
going to spend some time this afternoon looking into but you have saved me both 
the time and frustration :)



cheers, Al



On 22 Mar 2006, at 10:51, Benoit Hediard 
wrote:

There is a pretty annoying bug in the new Beta2... 
;)The mouse over and focus does not work anymore on lists, when 
using classinstances as 
items.The focus is always on the 
last visible list row.To 
reproduce the problem.-ItemVO.as-
package 
{public class ItemVO 
{    public var label:String;    
public function ItemVO() {   label = "";  }}
}-ListFocusBug.mxml-

http://www.adobe.com/2006/mxml" 
xmlns="*"layout="vertical">    
    
    
      click="loadWithClassInstances()" 
/>  
  
  
  
    
dataProvider="{collection}"    
rowCount="5"    
width="180" />When loaded with objects, it works.
When loaded with class instances, it does not 
work.I haven't found any 
workaround right now...Benoit 
Hediard--
Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 




YAHOO! GROUPS 
LINKS 



   Visit your group "
flexcoders" on the 
  web.  
   To unsubscribe from this group, send an email 
  to: 
[EMAIL PROTECTED]  
   Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of 
  Service. 












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

   To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  















--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-22 Thread Benoit Hediard






But "uid" is a property that we already use on all our 
value objects.
I don't want flex to overwrite this 
property...
 
Is there a workaround?
 
Benoit Hediard


De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de Mac 
MartineEnvoyé : mercredi 22 mars 2006 19:32À : 
flexcoders@yahoogroups.comObjet : RE: [flexcoders] Flex2 beta2 
bug - Focus does not work on lists



You need to implement 
IUID, because otherwise the renderers do not have unique 
id’s.

I have an example 
here:

http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html







From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alisdair MillsSent: Wednesday, March 22, 2006 3:05 
AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2 beta2 bug - 
Focus does not work on lists


thanks Benoit for tracking that bug down. I noticed the 
same thing happening with lists yesterday when moving an app over to beta 2. Was 
going to spend some time this afternoon looking into but you have saved me both 
the time and frustration :)



cheers, Al



On 22 Mar 2006, at 10:51, Benoit Hediard 
wrote:

There is a pretty annoying bug in the new Beta2... 
;)The mouse over and focus does not work anymore on lists, when 
using classinstances as 
items.The focus is always on the 
last visible list row.To 
reproduce the problem.-ItemVO.as-package 
{public class ItemVO 
{    public var label:String;    
public function ItemVO() {   label = "";  }}}-ListFocusBug.mxml-http://www.adobe.com/2006/mxml" 
xmlns="*"layout="vertical">    
    
    
      click="loadWithClassInstances()" 
/>  
  
  
  
    
dataProvider="{collection}"    
rowCount="5"    
width="180" />When loaded with objects, it works.When loaded with class instances, it does not 
work.I haven't found any 
workaround right now...Benoit 
Hediard--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 




YAHOO! GROUPS 
LINKS 



   Visit your group "flexcoders" on the 
  web.  
   To unsubscribe from this group, send an email 
  to: [EMAIL PROTECTED]  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
  Service. 












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-22 Thread Mac Martine











 

You need to implement IUID, because
otherwise the renderers do not have unique id’s.

 

I have an example here:

 

http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html

 

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alisdair Mills
Sent: Wednesday, March 22, 2006
3:05 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2
beta2 bug - Focus does not work on lists



 



thanks Benoit for tracking that bug down. I noticed the same thing
happening with lists yesterday when moving an app over to beta 2. Was going to
spend some time this afternoon looking into but you have saved me both the time
and frustration :)





 





cheers, Al



 





On 22 Mar 2006, at 10:51, Benoit Hediard wrote:







There is a pretty annoying
bug in the new Beta2... ;)
The mouse over and focus does not work anymore on
lists, when using class
instances as items.
The focus is always on the last visible list row.

To reproduce the problem.

-
ItemVO.as
-
package {

public class ItemVO {
  
  public var label:String;
  
  public function ItemVO() {
   label = "";
  }

}

}

-
ListFocusBug.mxml
-

http://www.adobe.com/2006/mxml"
xmlns="*"
layout="vertical">
  
  
   

    
    
  
click="loadWithClassInstances()" />
  
  
  
  
 
  dataProvider="{collection}"
 
  rowCount="5"
 
  width="180" />



When loaded with objects, it works.
When loaded with class instances, it does not
work.

I haven't found any workaround right now...

Benoit Hediard





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










YAHOO!
GROUPS LINKS


 


  Visit your group "flexcoders" on
 the web.
   
  To unsubscribe from this group, send an
 email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the
 Yahoo! Terms of Service.
 


 







 















--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-22 Thread Alisdair Mills


thanks Benoit for tracking that bug down. I noticed the same thing happening with lists yesterday when moving an app over to beta 2. Was going to spend some time this afternoon looking into but you have saved me both the time and frustration :)cheers, AlOn 22 Mar 2006, at 10:51, Benoit Hediard wrote:  There is a pretty annoying bug in the new Beta2... ;) The mouse over and focus does not work anymore on lists, when using class instances as items. The focus is always on the last visible list row.  To reproduce the problem.  - ItemVO.as - package {  public class ItemVO {      public var label:String;      public function ItemVO() {    label = "";   }  }  }  - ListFocusBug.mxml -  http://www.adobe.com/2006/mxml" xmlns="*" layout="vertical">                         click="loadWithClassInstances()" />                 dataProvider="{collection}"     rowCount="5"     width="180" />When loaded with objects, it works. When loaded with class instances, it does not work.  I haven't found any workaround right now...  Benoit Hediard-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYAHOO! GROUPS LINKS  Visit your group "flexcoders" on the web.    To unsubscribe from this group, send an email to: [EMAIL PROTECTED]    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  








[flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-22 Thread Benoit Hediard
There is a pretty annoying bug in the new Beta2... ;)
The mouse over and focus does not work anymore on lists, when using class
instances as items.
The focus is always on the last visible list row.
 
To reproduce the problem.

-
ItemVO.as
-
package {
 
 public class ItemVO {
  
  public var label:String;
  
  public function ItemVO() {
   label = "";
  }
 
 }
 
}

-
ListFocusBug.mxml
-

http://www.adobe.com/2006/mxml"; xmlns="*"
layout="vertical">













When loaded with objects, it works.
When loaded with class instances, it does not work.

I haven't found any workaround right now...

Benoit Hediard





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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:
http://docs.yahoo.com/info/terms/