[flexcoders] Re:Passing complextype parameter to webservice

2008-04-03 Thread Mickael RUELLAN
Hi, You can simply use an object like : public class MyAuth { public var username:String = ''; public var password:String = ''; } and call your Webservice like : var auth:MyAuth = new MyAuth; auth.username = 'mika'; authenticationService.startSession(auth); I think you can egally use

Re: [flexcoders] Mapping SOAP response onto a DataGrid

2007-04-28 Thread Mickael RUELLAN
What's going on if you replace your dataProvider by : dataProvider={basementIssues.getAllIssues.lastResult.getAllIssuesReturn.issueListItem} Mika sebastien_arbogast a écrit : After reading the Use Webservices lesson, I tried to prototype an application with a DataGrid to display items

Re: [flexcoders] showCloseButton visibility bug ?

2007-04-20 Thread Mickael RUELLAN
PROTECTED] *On Behalf Of *Mickael RUELLAN *Sent:* Thursday, April 19, 2007 7:42 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] showCloseButton visibility bug ? Hi All, I have a TitleWindow with showCloseButton property initially set to true. I set to false the showCloseButton

[flexcoders] showCloseButton visibility bug ?

2007-04-19 Thread Mickael RUELLAN
Hi All, I have a TitleWindow with showCloseButton property initially set to true. I set to false the showCloseButton property in order to prevent and indicate to user that the window can not be closed, the close button is not long visible. Now If I try to set to true the showCloseButton, I

Re: [flexcoders] Disabling Warnings and Errors from Flash Player

2007-04-11 Thread Mickael RUELLAN
Here what I do : ws.addEventListener('load',WSLoad); ws.addEventListener('fault',ErrorLoadingWS); ws.loadWSDL(); load event appear in case of reacheable wsdl file but you have to handle if the wsdl file is not well formed : public function WSLoad(ev:LoadEvent):void { if(!ws.canLoadWSDL()) {

Re: [flexcoders] DataGridColumn visibility problem. It appears again when dataProvider is replaced

2007-03-09 Thread Mickael RUELLAN
Sergey Kovalyov a écrit : Any known workarounds? :) Hi, for me the workaround is to stay in 2.0.0 What are doing Adobe for this ? Is there a way to submit bug ? Mika

Re: [flexcoders] Exporting Charts as Image

2007-02-16 Thread Mickael RUELLAN
Hi, Here is my way to export image (PNG or JPEG) to a PHP server. The image is available as if you post it on a HTML form, so in $_FILES variables. First, I've added this 2 methods in JPEG and PNG encoder class : public function encodeFromUI(target:UIComponent):ByteArray {

[flexcoders] Flex Builder 2.0.1 - Bug? with DataGridColumn.visible property

2007-01-29 Thread Mickael RUELLAN
Hi, Here is the problem (bug ?) that I have with Flex Builder 2.0.1 (Not with Flex 2.0.0 ) : In a mxml component, I have a Datagrid with many Datagridcolumn. If I set the visible property of any datagridcolumn to false, the column does not display on the first load of the datagrid. But if I

Re: [flexcoders] Do I *REALLY* need Flex Data Services for WebServices?

2007-01-29 Thread Mickael RUELLAN
Hi, I'm using WebService from a PHP server. It's working well except for fault that return a 500 code status. In PHP if you want to generate a fault you can use the SOAPFault that return a 500 code status with the error code and the error message. If there is fault in your PHP code, the

Re: [flexcoders] Flex Builder 2.0.1 - Bug? with DataGridColumn.visible property

2007-01-29 Thread Mickael RUELLAN
Thanks for your answer Tom, I tried to set with AS but it's still the same problem. I will try another way. Thanks Mickael Tom Chiverton a écrit : On Monday 29 January 2007 11:40, Mickael RUELLAN wrote: Is this a bug ? Several people have reported a similar sounding issue. I