[flexcoders] Re: I want to render gantt chart using datagrid
Check out ILOG. It is not free, but it is well worth the price. http://visudemos.ilog.com/webdemos/taskchart/taskchart.html The are a couple blogs about less powerful Gantt options. just google Flex Gantt. I don't have them bookmarked right now. Don --- In flexcoders@yahoogroups.com, vajralavenkat vajralaven...@... wrote: Hi, I want to render gantt chart using datagrid with this data. Approval Initiation FirstPatient LastPatient LastPatient Lock Report 18-Feb-02 29-Aug-03 11-Sep-03 14-Jul-06 23-Apr-08 11-Apr-08 8-May-08 18-Feb-02 30-Sep-03 30-Sep-03 31-Jul-06 8-Feb-08 15-Apr-08 7-May-08 can u send me the code to render a sample gantt chart that have one pipe with 4 bars thanks, Subba Reddy
[flexcoders] Re: custom validate email with tooltip
Did you check out the EmailValidator . Comes with Flex and does what you need without custom code http://livedocs.adobe.com/flex/3/html/help.html?content=validators_7.html Don Kerr --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,does anyone ever before create custom validators for emails?For example i'm typing my email,when i don't type the @ then the tooltip will show up and display you are missing the @,when i don't type the .com,the tooltip will display you are missing the domain...Do anyone mind to point me how to do it?Thanks a lot..
[flexcoders] LCDS - No MessageAckEvent received
Hello, I have a messaging application that makes use of the MultiTopicConsumer class. When I run my application for the first time, a MultiTopicConsumer is instantiated and we subscribe() to the this consumer. We always receive a MessageAckEvent message after subscribing. Now when we refresh our browser (F5), sometimes we don't receive a MessageAckEvent after subscribing (and we also don't receive messages for the topics we subscribed to). It's not clear when the subscription succeeds and when not.. We spent some days searching for a solution, but as there are no errors on the client and the server, it is very difficult to debug.. Does anybody has got a clue of what's going wrong when refreshing (F5) our application. Kind regards Bart Ronsyn
Re: [flexcoders] Re: custom validate email with tooltip
Not yet..I'll try it..Thanks alot anyway.. On 7/26/09, Don Kerr fusionp...@yahoo.com wrote: Did you check out the EmailValidator . Comes with Flex and does what you need without custom code http://livedocs.adobe.com/flex/3/html/help.html?content=validators_7.html Don Kerr --- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,does anyone ever before create custom validators for emails?For example i'm typing my email,when i don't type the @ then the tooltip will show up and display you are missing the @,when i don't type the .com,the tooltip will display you are missing the domain...Do anyone mind to point me how to do it?Thanks a lot..
[flexcoders] Re: How to Export data from an AdvancedDataGrid to excel
Two separate problems: how to get the data out of the AdvancedDataGrid and how to get it into Excel. Getting the data: if you can get the data from the grid's dataProvider that's easy. If you truly have to scrape it from the grid's rows and columns that's hard. There are no direct APIs to do that. A way you can do it is with the automation APIs, see this article for details: http://code.google.com/p/fluint/wiki/FluintAndAutomationAPI Sending it to Excel: the only way I know to do that is to send it to the server, and have the server put it in a file for Excel to read. The easiest would probably be to use the .csv file format. Probably if you used Air instead of Flex there would be a way to do it all on the client side. --- In flexcoders@yahoogroups.com, vibha_crsce vibha_cr...@... wrote: Hi, I just want to Export data in my Advanced data grid to excel. Is there any solution to do so directly in flex that is independent of the server side request and version of FlashPlayer. Thannks Vibha
[flexcoders] How to debug when I have IE crash?
Hi,We are having quite a lot of IE crashes when running our Flex 3 applications. Usually the clients use IE 7 or 8 and the flash player version is 10. How can I debug it? Is there some kind of logs I can see? Thanks, Ronen
Re: [flexcoders] How to debug when I have IE crash?
Use the Flash player debug version and follow the instructions: http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html 2009/7/26 Ronen Naor ronen.f...@gmail.com Hi,We are having quite a lot of IE crashes when running our Flex 3 applications. Usually the clients use IE 7 or 8 and the flash player version is 10. How can I debug it? Is there some kind of logs I can see? Thanks, Ronen
Re: [flexcoders] Re: How to Export data from an AdvancedDataGrid to excel
Or as another work arround sent the values to the clipboard tab delimited. This requires the user post to flex. On Sun, Jul 26, 2009 at 1:11 PM, mitchgrrt mitch_g...@hotmail.com wrote: Two separate problems: how to get the data out of the AdvancedDataGrid and how to get it into Excel. Getting the data: if you can get the data from the grid's dataProvider that's easy. If you truly have to scrape it from the grid's rows and columns that's hard. There are no direct APIs to do that. A way you can do it is with the automation APIs, see this article for details: http://code.google.com/p/fluint/wiki/FluintAndAutomationAPI Sending it to Excel: the only way I know to do that is to send it to the server, and have the server put it in a file for Excel to read. The easiest would probably be to use the .csv file format. Probably if you used Air instead of Flex there would be a way to do it all on the client side. --- In flexcoders@yahoogroups.com, vibha_crsce vibha_cr...@... wrote: Hi, I just want to Export data in my Advanced data grid to excel. Is there any solution to do so directly in flex that is independent of the server side request and version of FlashPlayer. Thannks Vibha -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Sending Child's httpservice call from Parent
Hi, I have an application called parent.mxml and a component called child.mxml. child.mxml has an httpservice that gets sent via creation complete w/in the child.mxml. How can I change it so that this httpservice gets sent from the parent and the parent then passes the array to the child? I've gone through the parent/child docs at http://livedocs.adobe.com/flex/3/html/help.html?content=modular_7.html but it isn't sinking in.thx! Here's my simplified code for parent: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:local=* xmlns:comp=components.* mx:TabNavigator width=100% height=100% local:child/ /mx:TabNavigator /mx:Application Here's the code for child.mxml: ?xml version=1.0 encoding=utf-8? mx:Module xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% creationComplete=init(); mx:HTTPService id=text url=text.php fault=httpFaultHandler(event) result=httpResultHandler(event)/ mx:Script ![CDATA[ import mx.events.ListEvent; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; [Bindable] private var textdata; private function changeHandler(event:ListEvent):void{ } public function init():void{ text.send(); } private function httpFaultHandler(event:FaultEvent):void{ Alert.show(doesn't work,Error); } private function httpResultHandler(event:ResultEvent):void{ textdata = event.result.entries.entry; } ]] /mx:Script mx:DataGrid dataProvider={textdata} width=100% height=100% mx:columns mx:DataGridColumn dataField=name headerText=name color=black/ mx:DataGridColumn dataField=date headerText=date color=black/ /mx:columns /mx:DataGrid /mx:Module
RE: [flexcoders] Sending Child's httpservice call from Parent
Assign an id to the child component: local:child id=mychild/ With that reference, you can access public members in the child component. So in parent, you can do: myChild.doSend(aMyArray); And in child: public function doSend(aSomeArray:Array):void { . text.send() } Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fgno...@rocketmail.com Sent: Sunday, July 26, 2009 12:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sending Child's httpservice call from Parent Hi, I have an application called parent.mxml and a component called child.mxml. child.mxml has an httpservice that gets sent via creation complete w/in the child.mxml. How can I change it so that this httpservice gets sent from the parent and the parent then passes the array to the child? I've gone through the parent/child docs at http://livedocs. http://livedocs.adobe.com/flex/3/html/help.html?content=modular_7.html adobe.com/flex/3/html/help.html?content=modular_7.html but it isn't sinking in.thx! Here's my simplified code for parent: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml com/2006/mxml xmlns:local=* xmlns:comp=components.* mx:TabNavigator width=100% height=100% local:child/ /mx:TabNavigator /mx:Application Here's the code for child.mxml: ?xml version=1.0 encoding=utf-8? mx:Module xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml com/2006/mxml width=100% height=100% creationComplete=init(); mx:HTTPService id=text url=text.php fault=httpFaultHandler(event) result=httpResultHandler(event)/ mx:Script ![CDATA[ import mx.events.ListEvent; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; [Bindable] private var textdata; private function changeHandler(event:ListEvent):void{ } public function init():void{ text.send(); } private function httpFaultHandler(event:FaultEvent):void{ Alert.show(doesn't work,Error); } private function httpResultHandler(event:ResultEvent):void{ textdata = event.result.entries.entry; } ]] /mx:Script mx:DataGrid dataProvider={textdata} width=100% height=100% mx:columns mx:DataGridColumn dataField=name headerText=name color=black/ mx:DataGridColumn dataField=date headerText=date color=black/ /mx:columns /mx:DataGrid /mx:Module
[flexcoders] Re: Sending Child's httpservice call from Parent
worked like a charm! thx!
[flexcoders] Re: How to debug when I have IE crash?
this might be helpful: http://stackoverflow.com/questions/560979/how-to-debug-swf-browser-crashes --- In flexcoders@yahoogroups.com, Ronen Naor ronen.f...@... wrote: Hi,We are having quite a lot of IE crashes when running our Flex 3 applications. Usually the clients use IE 7 or 8 and the flash player version is 10. How can I debug it? Is there some kind of logs I can see? Thanks, Ronen
[flexcoders] showing a preloder as images are loaded
hi guys i have struggled with this for a long time. i have a tilelist in which i load so many images. i would like to find a way to show a preloader on each image place holder as its loaded and when its complete the preloader disappears and the image shows up. can someone please help me out here.
RE: [flexcoders] Measuring the width of a label
You can try measureText() Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ivansebastiansurya Sent: Saturday, July 25, 2009 7:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Measuring the width of a label Hi everyone, I'm having a problem regarding measuring the width of a Label control. In my item renderer, I need to display a list of labels, but the number of labels per row depends on how many of them fit within one row. To do that, I need to actually measure the width of the label created prior to being added as a child of my renderer. Anyone has any idea how to do that? I need something like: var label:Label = new Label(); label.text = Test label; // Then I need to measure the width of the created label. Cheers and thanks in advance for reading my post. Ivan.