[flexcoders] Using Vector Collection as a Datasource??
Hi guys, We're performing some labor intensive calculations with arrays and it is really slow. I've read the threads here describing the array collections being slow, so we decided to switch to using a vector collection. All great, works faster, however it doesn't behave as expected and we can't figure out how to use the vector collection as a datasource as you would with an array. Are Vector collections ready to be used or still a work in progress? Can anyone provide an example or a link to how we would go about using Vector collections properly? We've searched for days and have found all the very limited Adobe content. Thanks everyone!! -- Blair Cox
[flexcoders] Flex Builder 3 on Mac and Win at same time?
Hi folks, Bit of an issue here. We have a project that requires us to begin working with an ASP.net server. I'm currently using the Mac version of FB3 and so far I haven't been able to determine how to continue using the Mac version while creating a new project tailored to ASP? When we purchased FB3, I downloaded both the Mac version and the PC version. I have Parallels installed on my Mac, so I'm running WindowsXP as well, can I install FB3 on the WinXP side without causing any issues? Technically, it is the same as installing the program twice on two machines, but how else can I get around this? Am I missing a way to continue using the Mac version and to connect to a remote ASP server without causing problems? Haven't figured it out yet. Thanks,
[flexcoders] Textarea, why the blue border?
Everyone, Why is there a blue border shown when using a textarea and it has been clicked on? To show it is in focus? Great, but why? How can this be removed? No, switching to Gumbo is not an option. How would you display a few paragraphs of text within you applications? Dis the designers of Flex believe it would never be used to show more than a couple lines of type? Thanks.
[flexcoders] Please Help: Shift data Up|Down in array/datagrid
Hi everyone, hope someone can offer a suggestion to solve this, or at least let me know if it possible within Flex/ActionScript. Here is my sample data: Date Var1 Var2 - Mon 34 45 Tues67 87 Wed 83 12 Thurs 89 23 Fri 12 98 ... ...... Lets say there is more data, but this is what is visible at the moment. Question: How could I adjust the Var2 column by essentially moving it up or down within its column? So if I moved it down (perhaps adding a null reference to the first row) 45 would appear in the Tues row, however Var1 would not be changed. If we were to move it up, the 45 would be removed and the 98 in the Fri row would move to Thurs. At best, it would be good to be able to do this with a slider control and have it return to normal without destroying the original data loaded in the array. I was thinking of a custom filter function, however could not find any references that indicated it could be used in this manner. Would IViewCursor be capable of doing this? As long as the datagrid showed the changes, I would be able to perform the necessary calculations on the adjusted data - correlation. Any thoughts whatsoever would be greatly appreciated. -- Blair
[flexcoders] Dynamically control chart data
Hello everyone, I'm trying to learn how I can manipulate a chart to perform some very simple calculations such as averaging data in a series or adjusting data ranges. I was thinking of the filterFunction, however I'm not sure how to implement it. I don't want to permanently change the data, just to apply mathematical filters which slightly alter the appearance of the data. Any suggestions? Thanks, -- Blair
[flexcoders] How to: Select range in Datagrid to set range in Chart?
Okay, I'll do my best to explain what I'm trying to do and see if anyone can point me in the direction of a good url and sample - What I would like to do is select a range of data within a Datagrid, so lets say 10 items out of the list 20. Than whatever is selected in the Datagrid, appears in chart. It is merely a graphical way of filtering a date range of data. Currently in my example, I select the beginning and ending dates. So all I would require to modify this is to be able to pass along the the first and last entry selected and define which column will be used. Any ideas? Cheers.
[flexcoders] Help: Datagrid first and last selection
Hi, is it possible to output the first and last selection of a datagrid if selecting multiple items? Thanks.
[flexcoders] Help: Datagrid first and last selection
Hi, is it possible to output the first and last selection of a datagrid if selecting multiple items? Thanks.
[flexcoders] How to use anchor and caret selection of a chart?
Everyone, I want to be able to select within a chart and pass the anchor and caret result to a variable. Specifically by selecting an area within the chart, the xValue being a date range will pass the begining and end date, as a string to any value I choose. I may just want to output the anchor and caret to a text field, doesn't matter. What I need to know how to do is out the anchor and caret while defining that the xValue is to be used. I've gone through the Adobe manual examples and can output the selection to a datagrid, but I need a little more control. Entering Flex anchor or caret into Google yields three results. It is a poorly documented function. Thanks, -- Blair
[flexcoders] Help: Hide AxisRenderer
Hi All, I've been working on this for some time. How to turn on and off multiple y-axis labels. I can do it, however when you make an AxisRenderer visible=false, the space it occupies remains. What I need to do is add and remove the additional y-axis labels and re-size the chart to accommodate the room occupied by the additional axis, or restore it when they are removed. Thoughts on how this could be accomplished? mx:verticalAxisRenderers mx:AxisRenderer placement=left axis={v1} / mx:AxisRenderer placement=right axis={v2} / mx:AxisRenderer placement=right axis={v3} visible=false / /mx:verticalAxisRenderers Thanks. -- Blair
[flexcoders] Possible? Charts - CatergoryAxis Group by Day/Time?
Thought I would ask the experts. I have a simple chart displaying data for about 60 days. The data consists of events which either occur once a day or multiple times a day. I've been asked that if an event occurs multiple times on a single day, to stack or group them on the chart. Stack may be the incorrect term, they would simply be represented vertically for a single day. If the data is identical, it would be represented at the same point. Is this possible? How? Thanks for the help. -- Blair
[flexcoders] Help: filterFunction and Dates
Hi everyone, With the help of another poster I was pointed in the correct direction to solve a problem I have: The two links were helpful: http://livedocs.adobe.com/flex/3/html/help.html?content=controls_12.html http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-items-in-a-datagrid-in-flex/ Based on the above information, I was able to accomplish all my tasks, except being able to sort dates. Problem #1 - How to format the date so that it displays as 2008-10-01. I have it all the way up to 2008-10-1. Apparently the 'day' is represented as a single digit. That won't work - using a MySQL db. Problem #2 - I am apparently lacking in my knowledge of ActionScript to correctly write the proper script to filter the date. What I can't seem to figure out is the correct syntax for working with dates, or perhaps simply a string or number containing - dashes? Sorry, I'm not providing code you to ponder over, I really only need a reference to start with so I can learn as I go. I've been searching but have not been able to locate a reference which deals with sorting dates? Thanks,
[flexcoders] Charts - How to filter dataprovider by date?
Hi everyone, I've spent hours over several weeks looking for a hint of an answer to this, perhaps my situation is unique. I have a database, that through necessity, has the data for multiple items, we'll call them different tests. Now if I use this database for a chart's data provider, it will of course display along the x-axis, all entries which currently exist. So if there are 10 entries, I'll get 10 data points, whether anything is plotted on the y-axis or not - just a default line chart, no other parameters set, it's not important yet. Okay, so lets say that out of the 10 currently existing data points in the db, only 5 are relevant to me at the moment. I've figured out how to select the five I wish by defining them in the y-axis series, however the remaining 5, still of course exist in the data provider and are shown along the bottom of the chart and because the data is not relevant to my selection, appears as zero, no data. I've probably lost you, so let me explain what I want to do. I would like to be able to filter the data presented in the data provider, before the chart is rendered. So if I wish to show only 5 of the 10 available points in the table, I can do so. Now, can this be done simply by manipulating the x-axis or is it required to be done perhaps with sql calls to the database. How about a hint about how I can filter or control the data delivered in the data provider. Thanks,
[flexcoders] Basic Printing: Print what you see?
Hi all, Can someone point me in a direction of a url which explains how configure the app to print in a browser so that what you see fits to a standard letter size sheet? Current the app prints horizontally and get cut off, not matter the OS or browser. So it appears I need to define the dimensions, but I haven't found where this is mentioned. Cheers!
[flexcoders] Combobox to show table columns?
Just wonder if anyone has a trick to dynamically populate a combobox with the column labels of a table or XML source. I seem to only manage to retrieve the values of the rows, not the actual column name. I know I manually list them, but this defeats the purpose if the table were to change. Ex. So instead of showing the value ALB_RLU, I want ALB_RLU to be a selection in the combobox. response #8722; data #8722; row idATP_Calc82/idATP_Calc UC1/ ALB_RLU33321./ALB_RLU ALB_ATP213213./ALB_ATP ALC_RLU213./ALC_RLU Thanks,
[flexcoders] Help with Chart dataprovider
Hi, I've been trying to figure this out for a while now. I have a basic chart that I want to be able to select a different data source for each series. I have a test app where all I want to do is change the charts dataprovider via a combo box; mx:ComboBox id=choosekit x=10 y=23 width=210 dataProvider={samplepoint} labelFunction=getListLabel prompt=Click to Select... change=trendingchangeHandler(event) selectedIndex=0 /mx:ComboBox ... mx:LineChart x=281 y=14 id=linechart1 dataProvider={samplepointdp} showDataTips=true mx:series mx:LineSeries id=series1 displayName=Series 1 yField={series1dp}/ mx:LineSeries id=series2 displayName=Series 2 yField={series2dp}/ /mx:series /mx:LineChart mx:Legend dataProvider={linechart1} x=188 y=309/ ... [Bindable] private var samplepointdp:String private function trendingchangeHandler(event:Event):void { samplepointdp = choosekit.selectedItem.Test_Kit_Used; } ... If I statically set the dataprovider and load the app, it connects to the db and populates the chart. I can then use combobox's to change the yAxis of each of the series, works as expected. Now I'm assuming the same can be done with the dataprovider, but I see that when the app first loads, there is just the slightest pause while the chart connects to the db and loads. So I'll assume that when I change the dataprovider in the app, I must then refresh the chart to load the new data? But how? Thanks,
[flexcoders] Change dataProvider at runtime?
Does anyone have experience with changing a dataprovider at runtime? Scenerio: a grocery store Database has four tables, one for Produce, Dairy, Meat and Other. Each of the tables is a different arrayCollection/HTTPService I want to be able to have four comboboxes, each able to point to any of the four arrayCollection's, therefore to change the datasource of each series in a chart. Why? Because it would allow you to compare values of different data sets in a single chart. I did not expect this would be such an issue. If anyone can provide any information at all, it would be a huge help. Thanks,
[flexcoders] Coldfusion 8 Air: Connect to online db?
Question: Can Air, in general, connect to an online database? Can this be done with Coldfusion? I have little information about an Air application retrieving data from online, but it must happen. What I don't want to do is use the SQlite db, all data must be retrieved and stored online - possible? thanks
[flexcoders] PHP vs. Coldfusion 8 for beginner?
Okay, so I'm probably going to get a biased response, but which would you say would be the best long term strategy for a beginner to learn to become proficient with? I'm not looking to learn both, I want to pick a combination and stick to it. I suspect it is dependant on your background knowledge and what you want to do, so, my background is as novice as you get but with proficiency to learn. What we are going to do with it is create specialized business applications tailored to data analyses and report creation. Thanks
[flexcoders] Change Chart Data via Combobox: redraw?
I did not think this would be an issue, but I simply cannot understand why this won't work: I'm starting with a simple test, so no real code to speak of, but this is what I'm doing. A simple line chart, with three series. I have three combobox's. Each series calls a unique dataPrivider (works fine when placing static values) based on the selection in the combobox; mx:LineSeries id=Series1 displayName=Series 1 yField=DB_row dataProvider={combobox.selectedItem}/ I have a label to provide a visual output of the cb selection in the app and it is correct. I thought this would be the same as statically typing in the value, but it appears the chart is not redrawing, yet many on the examples I've found in the Adobe pages make similar adjustments in a similar manner, no method to redraw. Very confusing. So, can anyone point me in the direction of a sample where you can change a charts dataProvider and yField within the application via a combobox selections? Thanks,
[flexcoders] Combobox with multiple data sources?
I've been reading the blogs all afternoon and haven't found an answer to this (probably because it's really simple), but what I want to do is populate a combobox from two data sources. One will be from a small array in the mxml, the other will be from the database and dependant on what the user has entered, but they must appear in the same combobox. I've been looking at hierarchical data providers and GroupCollections, but just can't see how to fit it together for my use. Thanks,
[flexcoders] Printing and PDF creation
Just wondering if anyone could provide some information on general printing concepts and creating PDF reports from an application. With regards to printing, I really only need to allow the user to correctly print what is displayed in their browser - the application interface. As a bonus, allowing the user to print a report would be even better. I've heard a lot of talk about printing DG's, but how about printing charts? If you could pass along some links to read more on this, it would be a great help. PDF creation - Is it possible to create a pdf directly from the application within the browser (not AIR)? An example would be within Goggle Analytics, you can create a PDF report containing all the data and charts displayed online. Nothing complex here, simple plain reports full justified, center aligned - the way the business folk like it. Cheers, Blair
[flexcoders] Using Create App from DB - Saving decimal number 123.123??
I'm using the Create Application from database for testing and I'm just wondering on earth it appears to only update whole numbers to the table? It will not pass a decimal number to the database? I see in the php 'int', can I change this to allow it to store 123.123 instead? Really, whole numbers are pretty useless, I must be missing something, right? Thanks,
[flexcoders] Validator error auto show without mouse over?
Using Flex 3, is there any way to have a validator error message appear automatically without forcing the user to hover the mouse over a form entry which has ever so slightly changed its border colour to red? Cheers,
[flexcoders] Combobox - How to display 'Click to Select...'
I have a dynamically populated combobox that I would like to provide an initial label instead of the first item in the array. It would be impossible to create an item in the array to show, it would need to part of the combobox control. So on initial load of the application, the combobox would display something like 'Click to Select...'. Any thoughts? Thanks,
[flexcoders] NaN and Infinity showing in output - How to modify?
I seem to have trouble explaining myself here, hard when you are just learning. Perhaps this will be better. Is it possible to remove, change or hide any label or text output that displays NaN or Infinity? I'm performing a very simply calculation where the user enters a number in a form and it is calculated and displayed. Simple and does what I need. In some instances, there are more variables required and until they are provided, the output display NaN or Infinity. How could I easily adjust these? It could be a default display of zero, it could be to display nothing, whatever is the easiest and most straight forward method. Below is only an example of how I'm taking the user input from the form and passing the variable on to the Label text output. mx:Number id=myNumber{Number(userInput.text) * (1 + Number(otherUserInput.text)) * 1 / Number(otherOtherUserInput.text)}/mx:Number The answer is output to: mx:Label text={PrepForDisplay.format(myNumber)}/ Thank you, any assistance you can provide would be welcomed.
[flexcoders] ViewStack and Combobox
Here is my situation, I have a combobox and a viewstack. The combobox's dataProvider is XML generated by a php script retrieving information from a db. The database has two primary entries. The first is a location, the second is a type of test performed. These are inputed by the user elsewhere in the application. When the user views the combobox, they see the list of site entries. Upon selecting the a site, the viewstack should change to show the related test information. Should be pretty straight forward. The problem comes when I want to pass the string value of the test to viewstack - they have the same names. As a test of the viewstack, this works fine: dataProvider={viewstackTestKits.getChildren()} change={viewstackTestKits.selectedChild=event.currentTarget.selectedItem} But I want something like this: change=viewstackTestKits.selectedChild=box.selectedItem.Test_Kit_Used ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=service.send() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; [Bindable] private var samplepoint:ArrayCollection [Bindable] private var currentSlide:Object; private function SPresultHandler(event:ResultEvent):void { samplepoint = event.result.response.data.row; } private function getListLabel(item:Object):String { return item.Sample_Point_Name; } private function changeHandler(event:Event):void { currentSlide = box.selectedLabel; } ]] /mx:Script mx:HTTPService id=service url=Define_Sample_Points.php?method=FindAll result=SPresultHandler(event)/ mx:ComboBox id=box dataProvider={samplepoint} labelFunction=getListLabel change=changeHandler(event) x=52 y=27 /mx:ComboBox mx:Text id=lbl text={box.selectedItem.Test_Kit_Used} / /mx:Application
[flexcoders] Re: ViewStack and Combobox
For any other newbie looking for the answer; myViewStack.selectedChild = Container(myViewStack.getChildByName(treeMenu.itemToLabel(treeMenu.selectedItem))); Modify to your usage.
[flexcoders] ViewStack, Combobox Dataprovider
Here is my situation, I have a combobox and a viewstack. The combobox's dataProvider is XML generated by a php script retrieving information from a db. The database has two primary entries. The first is a location, the second is a type of test performed. These are inputed by the user elsewhere in the application. When the user views the combobox, they see the list of site entries. Upon selecting the a site, the viewstack should change to show the related test information. Should be pretty straight forward. The problem comes when I want to pass the string value of the test to viewstack - they have the same names. As a test of the viewstack, this works fine: dataProvider={viewstackTestKits.getChildren()} change={viewstackTestKits.selectedChild=event.currentTarget.selectedItem} But I want something like this: change=viewstackTestKits.selectedChild=box.selectedItem.Test_Kit_Used ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=service.send() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; [Bindable] private var samplepoint:ArrayCollection [Bindable] private var currentSlide:Object; private function SPresultHandler(event:ResultEvent):void { samplepoint = event.result.response.data.row; } private function getListLabel(item:Object):String { return item.Sample_Point_Name; } private function changeHandler(event:Event):void { currentSlide = box.selectedLabel; } ]] /mx:Script mx:HTTPService id=service url=Define_Sample_Points.php?method=FindAll result=SPresultHandler(event)/ mx:ComboBox id=box dataProvider={samplepoint} labelFunction=getListLabel change=changeHandler(event) x=52 y=27 /mx:ComboBox mx:Text id=lbl text={box.selectedItem.Test_Kit_Used} / /mx:Application
[flexcoders] Please help a newbie :) - ArrayCollection
Hi, I'm sure this is incredibly simple, however I'm having trouble figuring it out. I have a php script which connects to a db and returns standard xml. What I want to do is choose which children from the repeating elements to use. Found this example and it works: mx:Repeater id=pointRepeater dataProvider={samplepoint} mx:Text x=364 y=244 text={pointRepeater.currentItem.Sample_Point_Name}/ /mx:Repeater My ArrayCollection is called 'samplepoint'. XML is response.data.row So lets say I have a combobox that I would like to specify which of the child elements of my xml data I wish to use - how would I do this? I've tried dataProvider={samplepoint.Sample_Point_Name} The only way I could come close was to use labelField=Sample_Point_Name, but this doesn't do much for me, since I need to specify a data value. I have looked to great length, I must be missing something. Thank you.
[flexcoders] Re: Please help a newbie :) - ArrayCollection
I'm starting to think all I need to do is post a message here and the answer instantly makes itself known. Sorry that I wasn't very descriptive. This is what I was looking for; private function getListLabel(item:Object):String { return item.Sample_Point_Name + ( + item.Test_Kit_Used + ); } Thanks. --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: Without more information, it's impossible to answer your question.
[flexcoders] Newbie Help: Resolve a multiname reference unambiguously...
Hi, Totally a newbie here, so please excuse my ignorance. I've spent some time working through this problem and this is where I am at. I want to be able to make multiple calls to my database tables. I did use the create application from database to generate the php code to create the xml I need. Works great for my needs, I just need to be able to make calls to the server. I used the generated datagrid to display and manipulate some data in my application, so I would like to keep the original part, just add on to it. From what I gather, it is not possible to reference HTTPService twice. Currently it appears in a ActionScipt file as - private var gateway:HTTPService = new HTTPService(); This part is the original datagrid application. And again in a data block within the mxml file - mx:HTTPService id=SamplePointCollect url=http://localhost/debug/Points.php?method=FindAll; result=resultHandlerSP(event)/ I added this to populate a combobox where the code for the datagrid exists, except this combo references a different table than the datagrid connects to. How would I give an instance of HTTPService a unique ID - or populate an array in a different way? Thanks,
[flexcoders] Re: Newbie Help: Resolve a multiname reference unambiguously...
Okay, I figured out that you can assign a different ID to the instance of mx:HTTPSErvice. So what is going on with private var gateway:HTTPService = new HTTPService(); that seems to be causing the multiname reference issue? Or should I be looking somewhere else? Thanks, --- In flexcoders@yahoogroups.com, cox.blair [EMAIL PROTECTED] wrote: Currently it appears in a ActionScipt file as - private var gateway:HTTPService = new HTTPService(); This part is the original datagrid application. And again in a data block within the mxml file - mx:HTTPService id=SamplePointCollect url=http://localhost/debug/Points.php?method=FindAll; result=resultHandlerSP(event)/ I added this to populate a combobox where the code for the datagrid exists, except this combo references a different table than the datagrid connects to. How would I give an instance of HTTPService a unique ID - or populate an array in a different way? Thanks,
[flexcoders] Re: Newbie Help: Resolve a multiname reference unambiguously...
Okay, is HTTPService a single instance / use item? How would I get the following to work? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=SamplePointCollect.send() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; import mx.rpc.http.HTTPService; [Bindable] private var samplepoint:ArrayCollection; [Bindable] private var samplepoint2:ArrayCollection; private function resultHandlerSP(event:ResultEvent):void { samplepoint = event.result.response.data.row; } private function resultHandlerSP2(event:ResultEvent):void { samplepoint = event.result.response.data.row; } ]] /mx:Script mx:HTTPService id=SamplePointCollect url=http://localhost/Points.php?method=FindAll; result=resultHandlerSP(event)/ mx:HTTPService id=SamplePointCollect2 url=http://localhost/Variables.php?method=FindAll; result=resultHandlerSP2(event)/ mx:ComboBox x=192 y=18 width=335 dataProvider={samplepoint} labelField=Sample_Point_Name id=SelectPoint /mx:ComboBox mx:ComboBox x=192 y=18 width=335 dataProvider={samplepoint2} labelField=Sample_Point_Name id=SelectPoint2 /mx:ComboBox /mx:Application
[flexcoders] Help with Module Loader [Flex Builder 3 Bug?]
I have a module which contains a datagrid that connects to the database. It works, no issues. The problem comes when the Flex Builder 3 in design mode access the swf reference in the module loader and displays a popup saying there is an http access error, obviously because the design view cannot access the php routines, so displays the connection popup. The problem is it does not go away and renders design view useless. Has anyone encountered this? Do you know how to correct it? To replicate, create an application from a database and move the generated mxml contents to a module. Close Flex and reopen - the error will now appear. Thanks,
[flexcoders] Re: Help with Module Loader [Flex Builder 3 Bug?]
I place the module loader inside an according navigator, but I tried it inside tab navigator and got the same result. How do I tell display view to ignore doing anything with the swf file?
[flexcoders] Re: [Flex Builder 3 Bug] Module Loader
This does appear to be a bug. Checked online, nothing I'm doing is out of the ordinary. Adobe lists examples very close to what I'm doing except my module connects to a db - http://livedocs.adobe.com/flex/3/html/help.html?content=modular_5.html I went through the preferences and changed some settings, the one that may have made the difference is telling Flex Builder to use the internal browser (default setting). Closed FB and re-opened, everything appears to be functioning normally. I don't get a preview of the module in the parent application, but that is fine with me.
[flexcoders] HTTP Request Error: Design View in Flex Builder 3?
Hi all, I was working on my application before lunch, all was well. No errors, worked great. Had to reboot due to a totally unrelated issue to Flex, when I started the program back up, I'm greeted with a error dialuge box in Design view that I cannot remove. Anyone have any idea where I should look to correct this? I'm on a Mac running MAMP. Cheers,
[flexcoders] Re: HTTP Request Error: Design View in Flex Builder 3?
I think I know what is causing the problem. the bin folders are missing? They show up in Flex Navigator, however when I look at the path information, they do not exist in any of the possible locations listed. I've noticed over the past two days, that files with the Flex Navigator will disappear. I'll have module open and it will only exist FB as an open file, the original file in the Navigator has been removed? I'm test driving the trial version on a Mac - is this normal behaviour? How do I correct this? Thanks,
[flexcoders] Set Datagrid Column Width
I read that the DataGrid was designed to adjust to the dimensions of the browser, however my application has fixed dimensions to maintain some sanity. How can I define the widths of individual columns in the datagrid? For instance, the ID column does not need to be 20px wide. Thanks,
[flexcoders] Datagrid - Connect to multiple tables
I can't seem to find information on having a datagrid connect to multiple tables. Ultimately I would like to be able to use multiple select statements. Is it possible? Could you point me in the direction of some samples? Thanks,
[flexcoders] Saving or Exporting application charts as images?
Hi everyone, Our application will have charts and it will be required that the user be able to save these charts as an image suitable for use in MS Office products - ie. Word PowerPoint. The user shouldn't have to perform any editing or cropping. Any ideas on how this could be accomplished - from within the application? Thanks,
[flexcoders] Re: Saving or Exporting application charts as images?
Can this be done without using AIR? http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=8406 --- In flexcoders@yahoogroups.com, cox.blair [EMAIL PROTECTED] wrote: Hi everyone, Our application will have charts and it will be required that the user be able to save these charts as an image suitable for use in MS Office products - ie. Word PowerPoint. The user shouldn't have to perform any editing or cropping. Any ideas on how this could be accomplished - from within the application? Thanks,
[flexcoders] Re: Saving or Exporting application charts as images?
Isn't the Internet just nifty! Answered my own question. For anyone reading this, hopefully this link still exists and will answer your question :) http://dougmccune.com/blog/2007/06/03/save-a-snapshot-image-of-a-flex-app-without-a-server/
[flexcoders] Re: Saving or Exporting application charts as images?
Hmm, yup that sucks. I'll be using PHP5 and MySQL 4.1, any tips on where I could look for some tips on accomplishing this? New territory for me. Cheers, --- In flexcoders@yahoogroups.com, Sean Clark Hess [EMAIL PROTECTED] wrote: I've tried things like this before, and it never works. I can't remember if there's some way to do this natively with as3, or if I was doing it with a swf2exe tool, but either way, it sucks. Send the data serverside and regenerate it there. Your serverside language should have some packages to create images or pdfs or something. It's annoying to generate the report in two places, but it's the only way I know how to do it.
[flexcoders] Re: User loads CSV file
So if I had the user upload the file to the server and specified what the file should be named as, could I then load the contents of the file and store it in the MySQL database? I see all kinds of information about XML files, however I would need to write an app to convert a CSV to XML to load... Doesn't have to be that complicated. Cheers. How would you normally acquire bulk data from a user? These users would be logging data recorded from a measuring device. The device software exports the data as a CSV, to recap. Thanks, --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Would this be for an AIR app or a web page? --- In flexcoders@yahoogroups.com, cox.blair cox.blair@ wrote: Hello everyone, I'm new here, so go easy on me. I'm essentially just beginning with Flex, needless to say, I'm ready to learn. Using Flex Builder 3. I've spent a few hours looking through many of the flex sites I've
[flexcoders] Re: User loads CSV file
Sorry, It would initially be for a web page. Later the application will be migrated to AIR. We are using PHP and MySQL for the database, if that helps as well. Thanks, Blair --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Would this be for an AIR app or a web page? --- In flexcoders@yahoogroups.com, cox.blair cox.blair@ wrote: Hello everyone, I'm new here, so go easy on me. I'm essentially just beginning with
[flexcoders] Re: User loads CSV file
Okay, the back story is we are creating a completely new application based on a very complicated Excel based spreadsheet an engineer designed to record the data collected from users. The program essentially trends this data. It will be entered manually as well as collected from the device as I mentioned. The part I'm trying to spec in my head is how I'll allow the user to take their CSV data file and add it the application? I am new in this area, so I'm in the learning curve. There will be so much data collected that setting up a MySQL database to store it will be necessary. So I need to understand the best way to let user upload a file and for me to be able to add the data to the database. Everything would have to done by the Flex application - or php scripts within flex. Not sure how else to explain it. You could provide a general example of importing data to a database from a CSV source. It would be saved directly to the database, then be accessible via other modules of the application to trend the data into a graph. The application will just be a graphical version of the spreadsheet really. Thanks, --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: So, let me get this straight You have a bunch of users out in the field collecting data with some kind of datalogger. This datalogger exports its data as CSV. ...
[flexcoders] User loads CSV file
Hello everyone, I'm new here, so go easy on me. I'm essentially just beginning with Flex, needless to say, I'm ready to learn. Using Flex Builder 3. I've spent a few hours looking through many of the flex sites I've come across and the mail archive for this list and can't seem to find the information I'm looking for. What I need to be able to do in our application is allow users to import a CSV file so that we can save it to the MySQL db, then do the work require to the data. The formatting of the CSV file will be consistent and previously arranged. The db will contain the same fields, it's just a matter of collecting the data. Right now, the file must be a CSV, since this is what the measuring equipment exports as. It needs to be as simple as possible for the user. If you could offer some hints or put me in the correct direction of an example or tutorial, it would be appreciated. Cheers, Blair