RE: [flexcoders] Changing a cell in a datagrid

2004-05-05 Thread Matt Chotin
It is possible if you want to try to compute the cell that's visible. This involves understanding the DataGrid's vPosition, relating that to the data in the DataProvider, and then going through a bunch of undocumented (I think) arrays to reach that cell. Doesn't sound like much fun, so I

RE: [flexcoders] datefield/chooser and formatters

2004-05-05 Thread Matt Chotin
The DateField and DateChooser classes were written for Flash MX 2004 originally so our formatters didn't exist. Feel free to submit a feature request that asks for those classes to be expanded to automatically take an instance of the DateFormatter. In the meantime you can have the

RE: [flexcoders] tab contents and tab header fixed size problem

2004-05-05 Thread Matt Chotin
So normally when you place a TabNavigator in a container other than a Canvas you wouldn't run into this issue because everything would grow accordingly. Since you're inside a Canvas you get to see a little weirdness in how the TabNavigator does its sizing. The default rule is for the

RE: [flexcoders] mxml components not honoring external css styles ?

2004-05-05 Thread Matt Chotin
Could you post some sample code so see exactly what you're trying? It'll make it easier for us to identify our bug or limitation or simply put you on the right path. Matt -Original Message- From: bobpardoe1959 [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 12:58 AM

callback execution environment?

2004-05-05 Thread sbyrne_dorado
I'm trying to understand the environment that a call back function is executing in. I have called a remote object from ActionScript, via var call = remoteObject.myFunc(); Then I set a result handler function on the returned PendingCall instance: call.onResult = myFunc; But when myFunc gets

RE: [flexcoders] Re: callback execution environment?

2004-05-05 Thread Matt Chotin
Yes, the docs specify it in the WebService chapter where even though I don't recommend it that syntax is allowed and supported. RemoteObject is a little different. Matt -Original Message- From: sbyrne_dorado [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 10:49 AM

corner radius argument for drawRect()?

2004-05-05 Thread jeff tapper
has anyone had any luck using the 5th argument (corner radius) of the drawRect method of UIObject in flex? According to the docs: r - Corner radius of the rectangle or object containing radii for each corner. I'm seeing identical results if i passing in 0 as I am passing in 5 is this a

Re: [flexcoders] corner radius argument for drawRect()?

2004-05-05 Thread jeff tapper
Ah well, just answered my own question by opening up the class file and looking: function drawRect(x1:Number, y1:Number, x2:Number, y2:Number, r):Void { moveTo(x1,y1); lineTo(x2,y1); lineTo(x2,y2); lineTo(x1,y2); lineTo(x1,y1); } r is simply ignored. Looks like a documentation problem. At 02:46

what class is drawRoundRect() from?

2004-05-05 Thread jeff tapper
Does anyone know where the drawRoundRect() method is defined? I see it used in Skins, which extend RectBorder, which extends Border, which extends UIObject, but I dont see the method defined in any of those classes. Can someone point me in the right direction?

Almost read-only client side cache

2004-05-05 Thread sbyrne_dorado
In the application that we're developing, there is a significant amount of state that the client side RIA uses that changes very slowly. By very slowly I mean it may not change for a month, may go through a few days where it changes more frequently, and then goes dormant again. Rather than

RE: [flexcoders] Almost read-only client side cache

2004-05-05 Thread Roger Gonzalez
You have a few options. 1) Encode your state in XML, and download it separately. If things are set up correctly, the XML file will be stored in the browser cache. 2) Compile your data into a MXML application, and load it at runtime using the MovieClip.loadMovie() method, and dig into it through

RE: [flexcoders] what class is drawRoundRect() from?

2004-05-05 Thread Matt Chotin
Defaults.as in the skins subdirectories. Depending on which skins you are using the appropriate subdirectory's Defaults.as will have the definition. Matt -Original Message- From: jeff tapper [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 12:01 PM To:

RE: [flexcoders] what class is drawRoundRect() from?

2004-05-05 Thread jeff tapper
Matt - I dont see Defaults.as in en\First Run\Flex Classes\mx\skins am i looking in the wrong place? At 04:30 PM 5/5/2004, Matt Chotin wrote: Defaults.as in the skins subdirectories. Depending on which skins you are using the appropriate subdirectory's Defaults.as will have the definition. Matt

RE: [flexcoders] what class is drawRoundRect() from?

2004-05-05 Thread Cortlandt Winters
Hi Jeff, It is in default.as of Flex Classes\mx\skins\halo :) -Cort -Original Message-From: jeff tapper [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 05, 2004 3:01 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders]what class is drawRoundRect() from?Does anyone know where