[flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-18 Thread icepaco33
PROTECTED] On Behalf Of icepaco33 Sent: Friday, November 16, 2007 4:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: List renderer's malfunction because of Bitmap If I understand what you're saying then once I put the bitmap in place I should no longer be able to select

[flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-16 Thread icepaco33
selectable / rollover able) --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The bitmap obscures the highlight/selection rectangle. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Friday

[flexcoders] Sorting a list and then allowing drag drop

2007-11-15 Thread icepaco33
Greetings all, I have a list that allows drag n' drop operations. However I also want to implement a 'reset' operation where the list will rearrange all the items in the correct order. So the obvious way is to do : List.ListDataProvider.sort = _mySort; List.ListDataProvider.refresh()

[flexcoders] Re: How to access the List from it's ItemRenderer

2007-11-15 Thread icepaco33
[EMAIL PROTECTED] wrote: If you ask too soon, you will not know when it changed. You should ask in updateDisplayList From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Wednesday, November 14, 2007 7:51 PM

[flexcoders] Re: Sorting a list and then allowing drag drop

2007-11-15 Thread icepaco33
what you tried wont work. I think you have to create a new arraycoll from the sorted one via toArray From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Thursday, November 15, 2007 8:04 AM To: flexcoders

[flexcoders] List renderer's malfunction because of Bitmap

2007-11-15 Thread icepaco33
Greetings everyone, I have a problem with my List item renderer : I use a bitmap class (Bitmap) which I put in my TextArea to simululate a highlighter. The TextArea is used in a List renderer. However when I add this Bitmap to the TextArea then the Renderer starts to act very weird : once I

[flexcoders] How to access the List from it's ItemRenderer

2007-11-14 Thread icepaco33
Greetings, I am trying to have access to the List which renderers the item from an item renderer. What I want basically is to be able to determine if an item is 'selected' from an item renderer. So I have overriden the set data prop in order to do this: override public function set

[flexcoders] Re: How to access the List from it's ItemRenderer

2007-11-14 Thread icepaco33
isItemSelected(...) always returns false because the list of ListBase(owner) doesn't have any selections : selectedItems.length = 0 selectedIndex = -1 --- In flexcoders@yahoogroups.com, Adnan Doric [EMAIL PROTECTED] wrote: icepaco33 wrote: Greetings, I am trying to have access to the List

[flexcoders] Re: Can't select an item renderer in a list

2007-11-14 Thread icepaco33
be completely data-driven and get its visual state from calls to isItemSelected/Highlighted as renderers are recycled so the cannot retain state From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Tuesday, November 13, 2007

[flexcoders] Re: Can't select an item renderer in a list

2007-11-13 Thread icepaco33
background color, or remove the background color. You can see examples on my blog (blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Monday, November 12, 2007 9:22 PM To: flexcoders

[flexcoders] Re: Can't select an item renderer in a list

2007-11-13 Thread icepaco33
overriden the data setter but you didn't add an event listener for dataChange events. Try to add a Flex.DataChangeEvent listener that does exactly what the setter does. Hope it helps Josef --- In flexcoders@yahoogroups.com, icepaco33 icepaco33@ wrote: Humble excuse Alex, but you

[flexcoders] Re: Can't select an item renderer in a list

2007-11-12 Thread icepaco33
it during updateDisplayList. If you want to post a mini-example, we can take a look. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Sunday, November 11, 2007 4:04 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Can't select an item renderer in a list

2007-11-11 Thread icepaco33
Greetings everybody, I have a peculiar problem. I have a list that is rendered by a custom item renderer. The list allows multiple selection and also drag and drop operation (in order to shuffle the item around) However when I move an item further down the list (drag drop) then I can't select

[flexcoders] Re: Can't select an item renderer in a list

2007-11-11 Thread icepaco33
PROTECTED] On Behalf Of icepaco33 Sent: Sunday, November 11, 2007 5:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can't select an item renderer in a list Greetings everybody, I have a peculiar problem. I have a list that is rendered by a custom item renderer. The list