[flexcoders] HTTP Headers and RemoteObject
Is there anyway to attach a HTTP Header to a flex.messaging.messages.RemotingMessage such that my flex.messaging.endpoints.AMFEndpoint will be able access it ? I have a server that is protected/secured and the only way to access the resources is by attaching a token to the HTTP Header.
[flexcoders] Line Chart like Task Manager
I'm looking to make a line chart that looks similar to Windows Task Manager (data comes in from right to left for a fixed period of time). Looking at the API, it doesn't appear that the LineChart natively supports that, and I couldn't find any 3rd party libraries that already do that. Does anyone have any ideas? Thanks, Geoff
Re: [flexcoders] Line Chart like Task Manager
Geoff, you can check the Stock chart from amcharts http://flex.amcharts.com/examples/stock_chart_example Regards, Rishi Tandon From: gtb104 gtb...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wednesday, February 15, 2012 8:30 PM Subject: [flexcoders] Line Chart like Task Manager I'm looking to make a line chart that looks similar to Windows Task Manager (data comes in from right to left for a fixed period of time). Looking at the API, it doesn't appear that the LineChart natively supports that, and I couldn't find any 3rd party libraries that already do that. Does anyone have any ideas? Thanks, Geoff
[flexcoders] Re: Line Chart like Task Manager
Rishi, Sorry, but I don't see how that example fulfills my request. What I'm trying to show is basically volume over time. The x axis is time, the y axis is volume. The chart will be feed from BlazeDS messages that will be coming in around once per second. I'd like to plot the volume data points from right to left, like how the Task Manager plots CPU performance. I'm hoping this clarifies my need. Thanks, Geoff --- In flexcoders@yahoogroups.com, Tandon, Rishi rishitandon123@... wrote: Geoff, you can  check the Stock chart from amcharts http://flex.amcharts.com/examples/stock_chart_example Regards, Rishi Tandon From: gtb104 gtb104@... To: flexcoders@yahoogroups.com Sent: Wednesday, February 15, 2012 8:30 PM Subject: [flexcoders] Line Chart like Task Manager  I'm looking to make a line chart that looks similar to Windows Task Manager (data comes in from right to left for a fixed period of time). Looking at the API, it doesn't appear that the LineChart natively supports that, and I couldn't find any 3rd party libraries that already do that. Does anyone have any ideas? Thanks, Geoff
[flexcoders] CSS for spark dataGrid?
Hi, I use CSS for spark dataGrid, that is like fx:Style @namespace s library://ns.adobe.com/flex/spark; s|DataGrid { alternatingRowColors: #FF, #FF; } /fx:Style but I get the message: CSS type selectors are not supported in components: 'spark.components.DataGrid'. why css can not work with spark.components.DataGrid? I use FB4.6 for mobile app now Thanks Mark
[flexcoders] Re: HTTP Headers and RemoteObject
You could use the setRemoteCredentials method of the RemoteObject to send username and password as a header item. If not, check out the replies at http://stackoverflow.com/questions/81548/how-to-set-an-http-header-while-using-a-flex-remoteobject-method --- In flexcoders@yahoogroups.com, mores stephen.more@... wrote: Is there anyway to attach a HTTP Header to a flex.messaging.messages.RemotingMessage such that my flex.messaging.endpoints.AMFEndpoint will be able access it ? I have a server that is protected/secured and the only way to access the resources is by attaching a token to the HTTP Header.
[flexcoders] Re: CSS for spark dataGrid?
You need to use skins for spark components. --- In flexcoders@yahoogroups.com, markflex2007 markflex2007@... wrote: Hi, I use CSS for spark dataGrid, that is like fx:Style @namespace s library://ns.adobe.com/flex/spark; s|DataGrid { alternatingRowColors: #FF, #FF; } /fx:Style but I get the message: CSS type selectors are not supported in components: 'spark.components.DataGrid'. why css can not work with spark.components.DataGrid? I use FB4.6 for mobile app now Thanks Mark
Re: [flexcoders] Re: Line Chart like Task Manager
Geoff, You can create a large dataset with empty, or 0 values, for your Y Axis. Then when you populate data from your service, add/append those values to the end of your dataset, while removing an equal number of empty values from the beginning of the dataset. If you've created an ArrayCollection of these values, then via binding, it will update the chart automatically as you add/remove values to/from this collection. Have your line chart ignore 0 values and the line won't draw at the beginning, and only begin drawing on the right where you've started populating data. Continue this process as you receive data, and eventually you will have a full dataset, and as you continue to add/remove values, your full chart line will continue updating appearing to move from right to left. Does all this make sense? I've used a Mac for years now, so I'm pulling from memory what the task manager charts look like, but I think this is accurate. Let me know if you need any clarification on the method I'm suggesting above. Brendan On Wed, Feb 15, 2012 at 12:06 PM, gtb104 gtb...@yahoo.com wrote: ** Rishi, Sorry, but I don't see how that example fulfills my request. What I'm trying to show is basically volume over time. The x axis is time, the y axis is volume. The chart will be feed from BlazeDS messages that will be coming in around once per second. I'd like to plot the volume data points from right to left, like how the Task Manager plots CPU performance. I'm hoping this clarifies my need. Thanks, Geoff --- In flexcoders@yahoogroups.com, Tandon, Rishi rishitandon123@... wrote: Geoff, you can  check the Stock chart from amcharts http://flex.amcharts.com/examples/stock_chart_example Regards, Rishi Tandon From: gtb104 gtb104@... To: flexcoders@yahoogroups.com Sent: Wednesday, February 15, 2012 8:30 PM Subject: [flexcoders] Line Chart like Task Manager  I'm looking to make a line chart that looks similar to Windows Task Manager (data comes in from right to left for a fixed period of time). Looking at the API, it doesn't appear that the LineChart natively supports that, and I couldn't find any 3rd party libraries that already do that. Does anyone have any ideas? Thanks, Geoff
[flexcoders] anyway to change datespinner background?
Hi, I have tried but I have not get a way to do this. Thanks for help Mark
[flexcoders] Re: HTTP Headers and RemoteObject
I just did a quick test, 'setRemoteCredentials' is implemented as a flex.messaging.messages.CommandMessage and not as a HTTP Header. Thanks for the link. I see someone else was able to extend mx.rpc.AsyncRequest and mx.rpc.remoting.mxml.RemoteObject. This sounds exactly like what I need. If anyone has sample code for this it would be great ! --- In flexcoders@yahoogroups.com, valdhor valdhorlists@... wrote: You could use the setRemoteCredentials method of the RemoteObject to send username and password as a header item. If not, check out the replies at http://stackoverflow.com/questions/81548/how-to-set-an-http-header-while-using-a-flex-remoteobject-method --- In flexcoders@yahoogroups.com, mores stephen.more@ wrote: Is there anyway to attach a HTTP Header to a flex.messaging.messages.RemotingMessage such that my flex.messaging.endpoints.AMFEndpoint will be able access it ? I have a server that is protected/secured and the only way to access the resources is by attaching a token to the HTTP Header.