Re: [flexcoders] TileList itemRenderer resize

2007-05-22 Thread Daniel Grace
-- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Daniel Grace *Sent:* Friday, May 18, 2007 2:22 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] TileList itemRenderer resize I added the following code to the TileList

Re: [flexcoders] TileList itemRenderer resize

2007-05-22 Thread Daniel Grace
[mailto:[EMAIL PROTECTED] *On Behalf Of *Daniel Grace *Sent:* Friday, May 18, 2007 2:22 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] TileList itemRenderer resize I added the following code to the TileList: public override function set dataProvider(o: Object): void

Re: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Daniel Grace
FDS and polling are not your only options. Write a back-end server that answers socket connections above 1024, responds to the permissions query (or alternately, write your flash to first request a crossdomain.xml file, so that it never asks the socket for permissions) and then talks XML with

[flexcoders] TileList itemRenderer resize

2007-05-18 Thread Daniel Grace
I am using a mostly default (some options, no subclassing) TileList with a custom itemRenderer. I have been using the same itemRenderer for a while with no problems. I made a change to where one of the UI elements inside of this itemRenderer sets its visible and includeInLayout to false depending

Re: [flexcoders] TileList itemRenderer resize

2007-05-18 Thread Daniel Grace
Of *Daniel Grace *Sent:* Friday, May 18, 2007 12:26 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] TileList itemRenderer resize I am using a mostly default (some options, no subclassing) TileList with a custom itemRenderer. I have been using the same itemRenderer for a while

Re: [flexcoders] Re: I need a display suggestion.

2007-05-09 Thread Daniel Grace
It's not perfect, but this is what I would use unless I needed more features: ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private var _st: Boolean = false; public function set strikethrough(b: Boolean):

Re: [flexcoders] Re: I need a display suggestion.

2007-05-09 Thread Daniel Grace
look better... but it works. Daniel On 5/9/07, Daniel Grace [EMAIL PROTECTED] wrote: It's not perfect, but this is what I would use unless I needed more features: ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx= http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private

Re: [flexcoders] Crossdomain.xml

2007-04-30 Thread Daniel Grace
I ran into this same problem. I am assuming that you're using XMLSocket. The default seems to have changed from looking for /crossdomain.xml to asking over the socket. The documentation implies that it will fall back to looking to HTTP for the file, but that in practice seemed not to be the case.

[flexcoders] Tree drag selection inconsistency

2007-04-25 Thread Daniel Grace
If you set dragEnabled on a tree component and then drag a leaf and drop it somewhere that does not accept drops, that leaf node /looks/ selected, but is not. This also happens if you do drop it on a drop target, but the behavior dropping on an invalid target confirms that it's not a bug in my

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Daniel Grace
I expected someone else to have chimed in with a full-fledged code example by now. Since nobody did, I will offer my point in a direction I have used before, without any actual code. The last time I did this it was with a big PHP project, with multiple files. The way that I did it was keep a

[flexcoders] Button bar enabled=false drawing oddity

2007-04-16 Thread Daniel Grace
When a button bar is enabled, the only rounded edges are the very left and the very right. I really like this look. I set my enabled = false when the buttons make no sense and *gasp* the internal buttons are now rounded on both sides! Test case: ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] DataGrid Jumping

2007-04-06 Thread Daniel Grace
calling super and restore it afterwards. -Alex -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Daniel Grace *Sent:* Thursday, April 05, 2007 3:32 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] DataGrid Jumping After

Re: [flexcoders] DataGrid Jumping

2007-04-06 Thread Daniel Grace
, can you confirm if you saw the jumping behavior with no row selected at all? If not, it may have been fixed as a side-effect of another fix in an update, and this hack of mine would be entirely unnecessary. Daniel On 4/5/07, Daniel Grace [EMAIL PROTECTED] wrote: We do try to keep the selected

Re: [flexcoders] DataGrid Jumping

2007-04-06 Thread Daniel Grace
] *On Behalf Of *Daniel Grace *Sent:* Friday, April 06, 2007 10:06 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] DataGrid Jumping I tried your method and it failed to have any effect that I could see. I read the source to the function that you were having me somewhat override

[flexcoders] DataGrid Jumping

2007-04-05 Thread Daniel Grace
I am using a DataGrid that is mostly stock (overrode drawRowBackground and set dataProvider. This particular datagrid has a lot of information in it that changes every second. That's all fine. If there is a vertical scroll bar (common) and I am scrolled to the top, with no rows selected, it will

Re: [flexcoders] DataGrid Jumping

2007-04-05 Thread Daniel Grace
. Daniel On 4/5/07, Alex Harui [EMAIL PROTECTED] wrote: I don't remember any bugs like that. Can you build a small test case that uses regular DataGrid? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Daniel Grace *Sent:* Thursday, April

Re: [flexcoders] DataGrid Jumping

2007-04-05 Thread Daniel Grace
Application.application.ac.length; i++) { Application.application.ac.getItemAt(i).timer += ( Math.random() * 10) - 5; } } ]] /mx:Script /mx:Application Daniel On 4/5/07, Daniel Grace [EMAIL PROTECTED] wrote: Just to repay the quick reply to my email, you should know