[flexcoders] Re: daylight savings time and charts

2010-03-24 Thread netdeep
it extensively, but for now, it looks like that is working. --- In flexcoders@yahoogroups.com, netdeep deep...@... wrote: I have an app which displays any type of chart based on actionscript class definitions. It can't be done in mxml because the charts get drawn at runtime. It has worked

[flexcoders] Re: daylight savings time and charts

2010-03-24 Thread netdeep
, netdeep deep...@... wrote: Well, I think I've figured out the problem. I didn't notice it before but on the mxml chart I was using dataUnits and on the AS chart I was using labelUnits. It looks like labelUnits are the culprit because when I switched the AS to this, if finally rendered

[flexcoders] daylight savings time and charts

2010-03-17 Thread netdeep
I have an app which displays any type of chart based on actionscript class definitions. It can't be done in mxml because the charts get drawn at runtime. It has worked fine until recently. The daylight savings time change has made it go all out of whack. I rebuilt a sample version in mxml

[flexcoders] Re: daylight savings time and charts

2010-03-17 Thread netdeep
, netdeep deep...@... wrote: I have an app which displays any type of chart based on actionscript class definitions. It can't be done in mxml because the charts get drawn at runtime. It has worked fine until recently. The daylight savings time change has made it go all out of whack. I

[flexcoders] Blazeds messaging from java to java

2009-09-17 Thread netdeep
I know BlazeDS allows flex to communicate with server technology, but what if I want to communicate from a java class. How do I send my channel (which I've already set up and defined in the messaging-config file) a message and also hear back from the same channel? I can create messages like

[flexcoders] AlivePDF 0.1.4.9 not generating pdf

2009-07-21 Thread netdeep
Does anyone here have experience with AlivePDF? I am using 0.1.4.9. in Flex (tried both 3.0 and 3.3) andÂ…nothing happens. I tried it with create.php, create.java, and looked into saving it with Flash Player 10 (but couldn't find any real documentation on how to make that work). I just get a

[flexcoders] Configureing AIR app for blazeds messaging

2009-06-29 Thread netdeep
I am trying to get messaging working with my AIR application. I'm converting a Flex application into AIR and everything works in Flex but not in AIR. I can get remoting working, but messaging isn't working. I set up remoting channels at runtime using the examples from this site:

[flexcoders] Re: minorticks and grid lines for charts

2009-06-08 Thread netdeep
portable : +33601 822 056 2009/6/4 netdeep deep...@... I have a chart which is created in actionscript with parameters specified by the user. So it needs to be flexible enough to accomodate all kinds of different styles and types of charts. One user would like to display lines

[flexcoders] minorticks and grid lines for charts

2009-06-04 Thread netdeep
I have a chart which is created in actionscript with parameters specified by the user. So it needs to be flexible enough to accomodate all kinds of different styles and types of charts. One user would like to display lines on the minor ticks marks at every hour. Complicating matters is the

[flexcoders] Re: Axis titles on CartesianChart blurry, but not on ColumnChart

2009-04-29 Thread netdeep
in your @font-face declaration? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of netdeep Sent: Tuesday, April 28, 2009 11:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Axis titles on CartesianChart blurry

[flexcoders] Axis titles on CartesianChart blurry, but not on ColumnChart

2009-04-28 Thread netdeep
This seems like a bug with Flex which I never noticed until just recently, but the vertical axis titles for CartesianCharts (and LineCharts as well) are blurry at higher resolutions. However this problem is not present with ColumnChart. I had to encode the charts with ImageSnapshot and export

[flexcoders] Re: Axis titles on CartesianChart blurry, but not on ColumnChart

2009-04-28 Thread netdeep
Im' not doing anything with fonts, just something like this: var vAxis:LinearAxis = new LinearAxis(); vAxis.baseAtZero = false; vAxis.title = titleString; var axr:AxisRenderer = new AxisRenderer(); axr.axis = vAxis; renderers.addItem(axr); genericChart.verticalAxisRenderers =

[flexcoders] DataGrid combobox erasing items from it's list

2009-04-23 Thread netdeep
I have a DataGrid that is linked to an array of custom data objects which I call a seriesList. You are supposed to be able to choose the name of each series via a combobox in the datagrid. It works fine except when the user selects the combobox and then clicks somewhere else in the

[flexcoders] building a dataprovider in Java

2009-04-15 Thread netdeep
I posted a few weeks back about how to create a chart dataprovider in Java to pass to Flex and the response I got back was to use Maps. I got sidetracked with other aspects of the code and now that I'm trying to code it, I am really drawing a blank. How would you create the following

[flexcoders] verticalscrollbar not showing after addChild

2009-03-31 Thread netdeep
My application accepts input and adds charts to itself via addChild in actionscript. However, no matter how many charts I add, the app never shows a vertical scrollbar until the user manually resizes the browser window. How do I fix this quirk? I found this snippet on the web, but it doesn't

[flexcoders] Re: verticalscrollbar not showing after addChild

2009-03-31 Thread netdeep
annoyingly showing an unnecessarily horizontal scrollbar!). The vertical scroll isn't actually there, just the gutter for it! What is going on? --- In flexcoders@yahoogroups.com, netdeep deep...@... wrote: My application accepts input and adds charts to itself via addChild in actionscript

[flexcoders] Re: verticalscrollbar not showing after addChild

2009-03-31 Thread netdeep
Ok, sorry for the confusion, disregard the above posts. I've found the problem. I am using a custom Box component to mimic a flow layout. I just needed to set the height to 100% for that component to get it to work properly.

[flexcoders] losing queryString parameters when launching from UNIX prompt

2009-03-26 Thread netdeep
I need to run my flex app on a headless server. I am launching my app via a command line script in Solaris. It works but for some reason, I am losing much needed parameters in my URL by the time it gets to flex. What could be causing this? Command line args for app [/bin/sh, -c,

[flexcoders] Re: losing queryString parameters when launching from UNIX prompt

2009-03-26 Thread netdeep
Well, I figured it out. You need to put the url in quotation marks. --- In flexcoders@yahoogroups.com, netdeep deep...@... wrote: I need to run my flex app on a headless server. I am launching my app via a command line script in Solaris. It works but for some reason, I am losing much

[flexcoders] Re: converting a Java object into a chart dataprovider

2009-03-18 Thread netdeep
be that you're sending back? You can't make a chart out of a list of numbers, it'd be one-dimensional, not to mention not very useful :) -Josh 2009/3/18 netdeep deep...@... I'll be sending Dates, Strings, and floats. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Josh

[flexcoders] Re: converting a Java object into a chart dataprovider

2009-03-18 Thread netdeep
@yahoogroups.com, Josh McDonald j...@... wrote: But what will the objects be that you're sending back? You can't make a chart out of a list of numbers, it'd be one-dimensional, not to mention not very useful :) -Josh 2009/3/18 netdeep deep...@... I'll be sending Dates, Strings, and floats

[flexcoders] Re: converting a Java object into a chart dataprovider

2009-03-18 Thread netdeep
as simple objects. On Wed, Mar 18, 2009 at 3:47 PM, netdeep deep...@... wrote: In the previous implementation, I would send an ArrayList of custom Objects containing two values each, variables called point1 (an Object) and point2 (a float). So for each series, I'd assign

[flexcoders] Re: converting a Java object into a chart dataprovider

2009-03-17 Thread netdeep
I'll be sending Dates, Strings, and floats. --- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote: What kind of objects are in your array? -Josh 2009/3/17 netdeep deep...@... In the flex documentation, it shows how to easily create a chart with mxml and a static Array

[flexcoders] converting a Java object into a chart dataprovider

2009-03-16 Thread netdeep
In the flex documentation, it shows how to easily create a chart with mxml and a static Array: private var expenses:Array = [ {Month:January,Profit:2000,Expenses:1500,Amount:450}, {Month:February,Profit:1000,Expenses:200,Amount:600},

[flexcoders] filtering blazeds messages

2009-01-21 Thread netdeep
I have blazeds working on a channel I have set up, but how do you filter out the information you broadcast on that channel? If I want to send data to one instance of my application, but no another, how do I determine that. Here is how I set up the message in java and flex. I have tried

[flexcoders] chart axis titles missing in image capture

2009-01-14 Thread netdeep
I have two sections of code which generate a png file from a UIComponent. Both seem very similar except that one of them cuts the axis titles off for some reason. The actual image file is generated in Java, but the encoding happens here in flex. The same code is used in both calls to Java,

[flexcoders] Re: chart axis titles missing in image capture

2009-01-14 Thread netdeep
someone please help me with this? Thanks! --- In flexcoders@yahoogroups.com, netdeep deep...@... wrote: I have two sections of code which generate a png file from a UIComponent. Both seem very similar except that one of them cuts the axis titles off for some reason. The actual image

[flexcoders] Re: chart axis titles missing in image capture

2009-01-14 Thread netdeep
I've made some progress. If I add this code: chartPanel.addEventListener(FlexEvent.CREATION_COMPLETE, imgExport); // method: imgExport (Event)

[flexcoders] multi axis columnSeries chart grid messed up in Actionscript

2008-12-23 Thread netdeep
I'm having a problem with a stray grid line popping up on my charts. It is not the same color as the other grid lines (which are grey), in fact it is the same color as the vertical axes (it is a multi-axis chart) and appears out of sinc with the others similar to this pattern:

[flexcoders] Flex with virtual frame buffer

2008-12-04 Thread netdeep
I have to run an automated version of my flex app on a headless server so I'm using a virtual frame buffer (Xvfb) running on Solaris in an oc4j container. I can get the following command to 'apparently' launch the app: String cmd = /bin/sh DISPLAY=:5 /opt/sfw/bin/firefox + url+ -width 1600

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
to do next step. From: netdeep [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 21, 2008 2:41:48 AM Subject: [flexcoders] appending to a dataprovider in actionscript I am still trying to iron out the problems with data

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
The code for the event listener is pretty much what was suggested previously: private function updateHandler(event:CollectionEvent):void { Alert.show( updated); } BindingUtils.bindProperty(lineSeries, dataProvider, ser, pointList); // assignement to pointList which is the

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
Ok, I'm not sure what code you're looking for, so here is the function which I believe is triggering the error. I've edited out as much as I could (things like display settings) to trim it down and here is what remains: public function makeDateChart(genericChart:CartesianChart,

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
Maciek, thanks for all your help. Here is the code snippet arround line 1403 else if (cache[i][field] is Date) { for (; i n; i++) { v = cache[i]; v[convertedField] = v[field].getTime(); // line 1403

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
and a random float. I guess flex was expecting Timestamps or maybe it doesn't like Dates from java. But when I went back and generated my new data as Timestamps instead of Dates, it worked! Thanks again for all the help! --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote

[flexcoders] appending to a dataprovider in actionscript

2008-11-20 Thread netdeep
I am still trying to iron out the problems with data binding in actionscript an server push. If I just replace the old array with a new one, it updates ok, but when I append to an array, it doesn't seem to work. I have to do everything in actionscript. I set up the data binding like this.

[flexcoders] Re: updating data in Actionscript

2008-11-17 Thread netdeep
arraycollection to the new arraycollection and bingo! we're flipping pancackes. Thanks for all of the help on this topic! --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: The problem is that I'm transferring an ActionScript object to the server, populating it with the data

[flexcoders] Re: updating data in Actionscript

2008-11-14 Thread netdeep
objects in a list. -Josh On Thu, Nov 13, 2008 at 5:38 AM, netdeep [EMAIL PROTECTED] wrote: I have been trying to find an answer for this with no success. How do you get flex to refresh data bindings using objects which are passed via remoting? I initially set up my chart

[flexcoders] Re: updating data in Actionscript

2008-11-13 Thread netdeep
The problem is that I'm transferring an ActionScript object to the server, populating it with the data, and then returning the ActionScript via BlazeDS and remoting (so these objects get converted to Java objects on the server and back to ActionScript when the come into flex). And the

[flexcoders] updating data in Actionscript

2008-11-12 Thread netdeep
I have been trying to find an answer for this with no success. How do you get flex to refresh data bindings using objects which are passed via remoting? I initially set up my chart to reflect the ArrayCollection I pass in during initialization like this: BindingUtils.bindProperty(lineSeries,

[flexcoders] running flex on a headless server

2008-11-10 Thread netdeep
I have a nice front end chart viewing application which allows users to query the database and see the results in chart form (basically a dashboard app). However, the end users want these reports automated and broadcast as 'snapshots' every few hours. So the idea is that the chart app would

[flexcoders] Re: refreshing data via BlazeDS

2008-10-24 Thread netdeep
I'm still wondering how to get this working. The underlying ArrayCollection data is being changed with each reload but the charts are staying the same. The data is updated via remoting wiht a Java method, by the way. How do I get the binding to work properly? Here is my method which is

[flexcoders] refreshing data via BlazeDS

2008-10-02 Thread netdeep
I have a persistent instance of my Flex App which needs to run constantly and recieve data via server push. It displays the latest data via a chart. The charts are defined in ActionScript. Here is a snippet: var lineSeries:LineSeries = new LineSeries(); BindingUtils.bindProperty(lineSeries,

[flexcoders] Dynamic binding with slider in actionscript

2008-09-23 Thread netdeep
I have a loop which creates a given number of charts at runtime (based on user requests) and adds them to my main application. I would like for a slider to be also associated with each chart so that the width of the chart can be adjusted. I can create everything, but I do not know how to do

[flexcoders] Re: DataGrid in custom component not updating

2008-09-18 Thread netdeep
] wrote: Call collection.itemUpdated(item) after updating the item. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Wednesday, September 17, 2008 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] Re: HTTPService conversion to ArrayCollection problem

2008-09-17 Thread netdeep
it contains, and code for the two cases. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Tuesday, September 16, 2008 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService conversion

[flexcoders] DataGrid in custom component not updating

2008-09-17 Thread netdeep
I have a custom component with a DataGrid in it. The dataprovider is an actionscript object (the variable name for this object is axis) with an ArrayCollection called seriesList. When I do axis.seriesList.addItem(), the DataGrid updates properly, but when I simply assign a new axis object

[flexcoders] HTTPService conversion to ArrayCollection problem

2008-09-16 Thread netdeep
This is really bizarre but I have some code that was working previously and now is no longer working. I am using a servlet to output information in the following format: system data nameChannel 1/name idRep1/id /data /system But I am now getting a runtime error: Error #1034: Type Coercion

[flexcoders] Generic Axis class?

2008-08-20 Thread netdeep
I am creating a chart where the user can specify what type of horizontal axis he desires. Right now, I'm trying to allow both CategoryAxis and DateTimeAxis options. But in the API it seems like these two do not share a useable, generic ancestry. I tried AxisBase and IAxis, but neither

[flexcoders] DateValidator not being disabled with errorString=

2008-08-13 Thread netdeep
I have Validators for some of my TextInput and Datefields. I am loading my TextInput and DateFields first via ActionScript and then resetting them later through ActionScript so I never even click on the DateField but the Validator still triggers when I reset. Basically I want the 'reset

[flexcoders] dataGrid null with state change

2008-07-31 Thread netdeep
I have a custom component with various fields and buttons. At times during my application, these components are added to the main window. The data for the fields is generated from another custom component with information like strings, arrays, etc. The problem I'm having is with databinding

[flexcoders] RemovedEffect bug

2008-07-23 Thread netdeep
I have a custom componenent which is an extension of VBox. In it I had defined a RemovedEffect since the user can add and remove these components to the interface. The problem I had with this is that this effect caused the program to lock up after I had added and then removed all

[flexcoders] LineChart display bug

2008-07-17 Thread netdeep
I wanted to create a bar across the top of my App and since I wanted it across the whole thing, I set the width to 100%. This worked fine until I added charts to my App via actionscript. When I add one chart, it's still ok, but when I add 2 or more charts. The top bar shifts left about

[flexcoders] annoying scrollbar flicker

2008-07-15 Thread netdeep
I am using a checkbox to show and hide interface elements via setting the state. When I click it once, it correctly sets the state and shows the elements. However when it reverts to the normal state and removes the elements, it flashes on a vertical scroll bar to the container from which it

[flexcoders] Re: combobox fills in with blank element

2008-07-14 Thread netdeep
[EMAIL PROTECTED] wrote: Does signalList have an extra element in it? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, July 11, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: combobox fills in with blank element

2008-07-14 Thread netdeep
. Mauricio On Fri, Jul 11, 2008 at 12:45 PM, netdeep [EMAIL PROTECTED] wrote: Here is the relevant code from the component with the combobox: [Bindable] private var signalList:ArrayCollection = new ArrayCollection(); public function setSignals(sig:ArrayCollection):void

[flexcoders] combobox fills in with blank element

2008-07-11 Thread netdeep
I have an ArrayCollection which is the dataProvider for a combobox in a custom component. However the ArrayCollection is located in the application so I assign it to the custom component via actionscript in the component. When I call addItem on the ArrayCollection the items go into the

[flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread netdeep
: Show your code. Last time, someone was inadvertently putting a space into the CB's dataProvider From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, July 11, 2008 5:48 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: legend setstyle not working properly

2008-07-03 Thread netdeep
That did it! Thanks! --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Looks like direction is a property; not a style. Try genericLegend.direction = horizontal; -TH --- In flexcoders@yahoogroups.com, netdeep deepnet@ wrote: I am trying to change

[flexcoders] legend setstyle not working properly

2008-07-01 Thread netdeep
I am trying to change the formatting for a Legend in Actionscript: genericLegend.setStyle(direction, horizontal); But this does nothing, instead it lists the items vertically. What is the proper way to do this in Actionscipt?

[flexcoders] flex and automation

2008-06-27 Thread netdeep
There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/days on an automated basis. I pull the data for the charts from the database and draw the chart,

[flexcoders] Re: flex and automation

2008-06-27 Thread netdeep
: If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM

[flexcoders] Re: image snapshot in flex

2008-06-26 Thread netdeep
file or png file which is you can make available to the user. This is not the fastest solution performance-wise but it does get the job done expecially for snapshots. --- On Thu, 6/26/08, netdeep [EMAIL PROTECTED] wrote: From: netdeep [EMAIL PROTECTED] Subject: [flexcoders] image snapshot

[flexcoders] image snapshot in flex

2008-06-25 Thread netdeep
I'd like to add a button so the user can snapshot a graph in my flex app. I can do this storing it on the server with Java, but I'd like for the user to have direct access to it. Since I don't think this can be done for instance saving to the desktop, I thought the next best solution would

[flexcoders] Re: setting fillcolor with actionscript and stylename

2008-06-09 Thread netdeep
to be stuck with a solid backgroundColor on a container; except the Application tag. -TH --- In flexcoders@yahoogroups.com, netdeep deepnet@ wrote: I have a panel component: mx:Panel id=panel styleName=gradientBgrd mx:Style .gradientBgrd { borderStyle: applicationControlBar

[flexcoders] AIR deployment on server

2008-06-09 Thread netdeep
I have a Flex app which needs to run on the server in the background. I was thinking of turning into an AIR app since it really doesn't need to run on the browser. But how could I deploy this. I am sending my entire flex project as a .war file to deploy on the server and am using

[flexcoders] setting fillcolor with actionscript and stylename

2008-06-06 Thread netdeep
I have a panel component: mx:Panel id=panel styleName=gradientBgrd mx:Style .gradientBgrd { borderStyle: applicationControlBar; } /mx:Style And I want to update the fillColors in actionscript: panel.setStyle(fillColors, [0xFF, 0x00]); but this

[flexcoders] Re: automated image files on a headless server with AIR?

2008-06-04 Thread netdeep
has any ideas about this or if there is an aircoders list that might better answer this question or if going AIR is the wrong approach here please let me know. Thanks! --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: I am using the following method to save the image

[flexcoders] Re: automated image files on a headless server with AIR?

2008-06-03 Thread netdeep
to encode the image and send to your java to save that each time or in meanwhile you need. Regards Igor On Mon, Jun 2, 2008 at 4:50 PM, netdeep [EMAIL PROTECTED] wrote: I am trying to run flex as an image generator on the server. Since my server is headless, the feedback I am getting

[flexcoders] configuring for a headless server

2008-06-02 Thread netdeep
I have seen a few posts about setting up flex to run on a headless server but I'm a bit confused about how to actually do this or even if this will fix my problem. This is what the documentation says should be done to set things up: --- define the value of the headless-server tag in the

[flexcoders] automated image files on a headless server with AIR?

2008-06-02 Thread netdeep
I am trying to run flex as an image generator on the server. Since my server is headless, the feedback I am getting is that it is bad practice to run flex in the browser for a background app. Here's what the program does in a nutshell: The server launches my java app. It reads a list of

[flexcoders] launching flex with arguments

2008-05-29 Thread netdeep
Is there a way to launch a flex app and pass it arguments similar to java's public static void main(String [ ] args) ?

[flexcoders] Re: launching flex with arguments

2008-05-29 Thread netdeep
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Thursday, May 29, 2008 10:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] launching flex with arguments Is there a way to launch a flex app and pass it arguments similar

[flexcoders] Re: launching flex with arguments

2008-05-29 Thread netdeep
. Another approach would be to use SWFObject (http://blog.deconcept.com/swfobject/#examples). I'm sure there are others as well. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Thursday, May 29, 2008 11:28 AM

[flexcoders] messaging selector

2008-05-29 Thread netdeep
I am trying to filter my channel messaging with blazeDS so that it only gets read by specific clients, but it doesn't seem to be working as expected. Here's what I'm doing. In flex: var id:String = someValue; consumer.selector = ID = '+id+'; And in java I do this to pass the message: String

[flexcoders] Re: messaging selector

2008-05-29 Thread netdeep
as well? --- In flexcoders@yahoogroups.com, meteatamel [EMAIL PROTECTED] wrote: Could it be because you're missing single quotes around id? -Mete --- In flexcoders@yahoogroups.com, netdeep deepnet@ wrote: I am trying to filter my channel messaging with blazeDS so that it only gets

[flexcoders] Re: blazeds messaging with multiple channels multiple instances of flex

2008-05-28 Thread netdeep
with. --- In flexcoders@yahoogroups.com, netdeep deepnet@ wrote: Here is a diagram of what the program needs to do: Database /\ | | \/ Manager.java queries database (for each Report in Database spawn Thread) | | \/ Thread to queries

[flexcoders] combobox set selecteditem

2008-05-27 Thread netdeep
I've seen a half dozen solutions to this on the internet but somehow they don't work. Basically I just want to set the selectedItem of a combobox: mx:Combobox id=comboboxID dataprovider={httpserv.lastresult.system.data}/ // actionscript which won't work comboboxID.selectedItem = something; So

[flexcoders] Re: chart data change events

2008-05-23 Thread netdeep
track of the data changes. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Thursday, May 22, 2008 11:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] chart data change events I need to capture an event

[flexcoders] chart data change events

2008-05-22 Thread netdeep
I need to capture an event for when the data is updated in a chart. I take a snapshot of the chart and save it to a file. But when I do it via a custom event which I fire myself, it fires the event and takes the screenshot before the update and so just snapshots the previous state of the

[flexcoders] Re: image factory threaded application

2008-05-21 Thread netdeep
] On Behalf Of netdeep Sent: Tuesday, May 20, 2008 3:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] image factory threaded application I've reached an impass with my current development of a flex app to publish image snapshots of charts. I can get the program to run fine

[flexcoders] image factory threaded application

2008-05-20 Thread netdeep
I've reached an impass with my current development of a flex app to publish image snapshots of charts. I can get the program to run fine when I just have one chart, but I'm not sure how to produce multiple images. Here's how it's set up at the moment: When the server launches, a java app

[flexcoders] Re: Sending data to the Server

2008-05-13 Thread netdeep
enable this, add Endpoint.* to your log category filters to see these. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Monday, May 12, 2008 12:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Sending data to the Server Thanks

[flexcoders] Re: Sending data to the Server

2008-05-13 Thread netdeep
like this much quicker. If you have time and could post maybe a more complete sample along with which files you need to update, I'd appreciate it. Thanks for the help. --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: I got several errors on the server when I tried

[flexcoders] Re: Sending data to the Server

2008-05-12 Thread netdeep
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, May 09, 2008 7:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sending data to the Server I need to send data to the server. Up til now I've been using messaging. But as far as I can tell, I can only

[flexcoders] Sending data to the Server

2008-05-09 Thread netdeep
I need to send data to the server. Up til now I've been using messaging. But as far as I can tell, I can only send strings this way. What other alternatives are there? For instance, I would like to be able to send an array or a custom data structure. I'm using Java for the backend.

[flexcoders] Reading a message with SeviceAdapters

2008-05-01 Thread netdeep
I'm using messaging with blazeds and I can send a message with a producer from flex, but I don't know how to read its contents in my java ServiceAdapter. I have a class: public class ChannelListener extends ServiceAdapter { public Object invoke(Message message) { } } } But what do I do in

[flexcoders] Re: Frustrations with blazeds messaging

2008-04-30 Thread netdeep
have no idea why though since nothing has changed. The performance is still really slow however. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 29 Apr 2008, netdeep wrote: huge. I've plotted over 140K points in some runs. But even when I filter

[flexcoders] Re: Frustrations with blazeds messaging

2008-04-30 Thread netdeep
it is and its advantages: http://my.adobe.acrobat.com/p56945801/ Best of luck. /r http://www.searchcoders.com/ On Tue, Apr 29, 2008 at 7:43 AM, netdeep [EMAIL PROTECTED] wrote: I've been working for quite a while on a project to display real-time data in a flex chart and just

[flexcoders] Frustrations with blazeds messaging

2008-04-29 Thread netdeep
I've been working for quite a while on a project to display real-time data in a flex chart and just can't seem to 'turn the corner' on it. While the code works, it is plagued by terrible performance and frequently locks up the browser. And I'm wondering if I am just doing something wrong

[flexcoders] Browser lockup with remote object

2008-04-28 Thread netdeep
The code I have uses a Java Remote Object to receive results from the server and plot them in a chart. This code previously has worked with datasets as large as 180K. Recently, I began querying results from a different database with data in the same format and the code no longer works.

[flexcoders] Re: Browser lockup with remote object

2008-04-28 Thread netdeep
By the way, the only difference I can see in the data is the precision of milliseconds in the date objects: OLD data: 2008-04-14 15:51:02.31 vs. NEW data: 2008-04-15 02:41:14.675756 --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: The code I have uses

[flexcoders] passing parameters to eventlistener functions

2008-04-24 Thread netdeep
I need to pass a parameter to a function using actionscript. However by default, all you can pass are events to the function called by an eventlistener. I know this is easy to do in MXML, but can it be done in actionscript? The documentation has this to say about it: Because the second

[flexcoders] Re: passing parameters to eventlistener functions

2008-04-24 Thread netdeep
--- In flexcoders@yahoogroups.com, netdeep deepnet@ wrote: I need to pass a parameter to a function using actionscript. However by default, all you can pass are events to the function called by an eventlistener. I know this is easy to do in MXML, but can it be done

[flexcoders] Re: data reading for charts inconsistent with Dates?

2008-04-18 Thread netdeep
your data exactly from two independent sources, flex seems forced to choose only one and ignore the other. Is there a way to draw both when the data does not match? --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: Well, actually I've discovered that the problem

[flexcoders] data reading for charts inconsistent with Dates?

2008-04-17 Thread netdeep
I am pulling in data for drwaing on a chart. My data formerly displayed properly, but when the data set changed, it no longer displays properly. I can see the data in a dataGrid so I know its there: mx:DataGrid dataProvider={axis2.data} width=400 mx:columns

[flexcoders] Re: data reading for charts inconsistent with Dates?

2008-04-17 Thread netdeep
chance of hitting the same values. Not sure if there is a solution to this. Anyone have any ideas? Maybe I will have to merge the two date arrays and use that for the horizontal axis dataprovider... --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: I am pulling in data

[flexcoders] messaging to a specific client

2008-04-15 Thread netdeep
I want to send a message to a specific client with messaging. The closest thing I could find was this method from the API: --- pushMessageToClients public void pushMessageToClients(Set subscriberIds, Message message, boolean evalSelector) This method is not

[flexcoders] Re: blazeds messaging with multiple channels multiple instances of flex

2008-04-14 Thread netdeep
approach seems good to start with. --- In flexcoders@yahoogroups.com, netdeep deepnet@ wrote: Here is a diagram of what the program needs to do: Database /\ | | \/ Manager.java queries database (for each Report in Database spawn Thread

[flexcoders] java RemoteClass null ArrayCollection/List

2008-04-11 Thread netdeep
I am sending an object in java to a flex app via messaging. Some of the data is coming across ok (Strings) but my List object is coming across as null even though the original java class: import java.util.ArrayList; public class Axis { String title; List axisList;

  1   2   >