[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread valdhor
I am just not seeing the problem you describe. I imported the project and ran it; Scrolled 20+ times up and down, both with the arrows and clicking in the scroll bar. Also tried partial scrolls up and down (ie. not all the way up nor all the way down). The numbers in the combo-boxes

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread valdhor
Just tried it again following your instructions. Clicked on each combobox and verified the number displayed is the same as one in the dropdown. Scrolled down one at a time selecting each new combobox displayed and verified the number displayed is the same as one in the dropdown. When I reached

RE: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Tracy Spratt
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Laurence Sent: Monday, February 08, 2010 8:44 AM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working... --- In flexcod...@yahoogro mailto:flexcoders

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread valdhor
So the numbers displayed in the drop-downs never changed for you at all? Nope, never changed. What OS are you running? On my development machine I'm running 64-bit Windows Server 2003 R2, Service Pack 2. Maybe that's the problem? But I think Alex Harui was also able to replicate the

Re: [flexcoders] Re: Custom ItemRenderer still not working... [1 Attachment]

2010-02-09 Thread Laurence MacNeill
I fear I'm not explaining the problem properly. So I'm attaching a screen-shot of what the problem is, exactly. As you can see from the screen-shot, the selected combo-box is displaying a number -- the correct number ($275.00) -- in the main display area. But in the combo-box's drop down,

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread valdhor
That was exactly what I was expecting to experience from your instructions. Of course, I don't get that experience. I also tried it in IE6 with the same result. Have you confirmed that others have actually seen the problem? --- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@...

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Laurence MacNeill
At 12:48 PM 2/9/2010, you wrote: That was exactly what I was expecting to experience from your instructions. Of course, I don't get that experience. I also tried it in IE6 with the same result. Have you confirmed that others have actually seen the problem? I'm pretty sure Alex Hauri saw it

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Laurence MacNeill
At 01:10 PM 2/9/2010, you wrote: At 12:48 PM 2/9/2010, you wrote: That was exactly what I was expecting to experience from your instructions. Of course, I don't get that experience. I also tried it in IE6 with the same result. Just for kicks, I downloaded and installed Firefox 3.6. The

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Alex Harui
Not sure what is going on with your player versions, but I doubt that is the issue. Like Tracy, I was looking for the wrong problem. I tried again this morning and still cannot reproduce the new description of the problem. However, the versions of the Flex SDK you tried still contained a bug

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Alex Harui
10485 is not the latest. The latest is going to be 13000 or higher. Get one of those build (probably listed as nightly) and install it into Flex Builder. On 2/9/10 10:58 AM, Laurence MacNeill lmacne...@comcast.net wrote: At 01:43 PM 2/9/2010, you wrote: Not sure what is going on with

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Laurence MacNeill
I just installed the latest nightly-build for Flex 3.6 -- version 3.6.0.13443. THAT FIXED THE PROBLEM!!! Weird that 3.6.x would fix the problem, whereas 4.0.x didn't... And I still don't know where to get that 3.5.0.13209 or later that Alex Hauri talked about... Latest 3.5 build I can find is

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-09 Thread Alex Harui
I guess they changed the version from 3.5 to 3.6. What matters is the build #. 4.0 with a build in the 13000’s should also fix the problem. You can use 3.6 nightly but it isn’t supported and you can’t leverage the RSLs. Only release builds have signed RSLs. We don’t make a lot of changes to

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-08 Thread Laurence
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: Post it here, the more eyes that look at it the better for you. Know an easy way to export my SQL data as something I can post here? Something like an SQL to XML conversion, so I can include the data in a text file that the

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-08 Thread Alex Harui
I don’t want the whole data record. Just a few fields that you need. Maybe make a class like this: [Bindable] Public class DataClass { public funciton DataClass(fee_chosen:int, fee1:int, fee2:int...) { this.fee_chosen = fee_chosen; this.fee1 = fee1; ... }

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-07 Thread Laurence
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Maybe Tracy can figure it out from just the renderer code, but I think I need a complete (but small) test case with some sample data. Can I send it to you via this list? Or do I have to e-mail you privately somehow? Just let me

RE: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-07 Thread Tracy Spratt
...@yahoogroups.com] On Behalf Of Laurence Sent: Sunday, February 07, 2010 6:19 AM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working... --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Alex Harui aha...@... wrote: Maybe

RE: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-07 Thread Tracy Spratt
services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Laurence Sent: Friday, February 05, 2010 3:20 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working... Well, hmmm... I can't rewrite

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-06 Thread Laurence
Well, I found a work-around... I added the following code inside my ComboBox ItemRenderer: override protected function focusInHandler(event:FocusEvent):void { listOfFees.refresh(); } For some reason, with this in there, you have to double-click on the combo box to open it, but the

RE: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-06 Thread Tracy Spratt
@yahoogroups.com Subject: [SPAM] [flexcoders] Re: Custom ItemRenderer still not working... Well, I found a work-around... I added the following code inside my ComboBox ItemRenderer: override protected function focusInHandler(event:FocusEvent):void { listOfFees.refresh(); } For some reason

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-06 Thread Laurence
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: Refresh() is intended to re-apply a sort of filter to a collection. If it is working in your case it is a side effect. Yeah, I figured as much. I noticed that if I opened then closed then re-opened the drop-down, the data

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-06 Thread Alex Harui
Maybe Tracy can figure it out from just the renderer code, but I think I need a complete (but small) test case with some sample data. The only thing I see that looks unusual (besides calling refrehs() is setting both selectedItem and selectedIndex. One should be good enough. On 2/6/10 8:34

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread wrhinfl
I thought array does not broadcast updates nicely (uniformly/as expected), can you change the declaration of listOfFees from: [Bindable]private var listOfFees:Array; to:[Bindable]private var listOfFees:ArrayCollection; --- In flexcoders@yahoogroups.com, Laurence lmacne...@... wrote: I thought

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread Laurence
Hmmm... That's an idea... data.course_fees is coming out of the database as an Array -- perhaps I should rewrite that so it comes out as an ArrayCollection from the very beginning... I'll give that a shot... (Yes, I know I can put an Array into an ArrayCollection, but if Array isn't

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread Laurence
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: I didn't take the time to debug your code, just looked for the usual suspects and didn't see any. It was supposed to be fixed in 3.5 but somehow got busted so now will be in 3.6 but not sure when that ships. I didn't

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread Laurence
Well, hmmm... I can't rewrite it so data.course_fees is an ArrayCollection -- when I change the 'EventVO.as' such that course_fees is an ArrayCollection instead of an Array, it comes back from the database as null... Perhaps that's a problem with my CF code (EventVO.cfc and EventDAO.cfc)?

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread Laurence
Well, I installed FlashBuilder 4 Premium Beta 2, imported the project into there, and ran the code. It is EXACTLY THE SAME in FB3 and FB4 -- the exact same problem appears. I scroll down in the DataGrid, and the numbers in the ItemRenderer's drop down change (but not the selected number being

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread wrhinfl
IF the CF returns a query, it should be an ArrayCollection in AS. If you are passing a CF Array it will be an Array in AS. At least according to Flex 3 Bible: CF AS String String Array Array Query ArrayCollection Struct Object CFC instance

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-04 Thread Laurence
Unfortunately, that won't work... This is part of a larger project, and that would mean migrating the entire project to Flex 4. Not gonna happen, unfortunately... I *am* using the Flex 3.5 SDK for this, however... Wouldn't they have fixed any issues, if they found them when creating Flex 4?

Re: [flexcoders] Re: Custom ItemRenderer still not working...

2010-02-04 Thread Alex Harui
I didn’t take the time to debug your code, just looked for the usual suspects and didn’t see any. It was supposed to be fixed in 3.5 but somehow got busted so now will be in 3.6 but not sure when that ships. I didn’t really want you to port the whole project, just write a test case with Flex