[flexcoders] AIR
Hi, I'm new to AIR. I've installed Flex builder 3 and AIR set up provided by Adobe. I know flex, but i dont kno how to interact with AIR for developing desktop ria. I've to develop desktop RIA for billing. Kindly guide me to same. thnx in advance regards, gyanprakash pandey Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: [flexcoders] AIR
Hi, Thnx alot. i got it. regards, gyanprakash pandey --- On Tue, 2/12/08, Tom Chiverton [EMAIL PROTECTED] wrote: From: Tom Chiverton [EMAIL PROTECTED] Subject: Re: [flexcoders] AIR To: flexcoders@yahoogroups.com Date: Tuesday, 2 December, 2008, 9:57 PM On Tuesday 02 Dec 2008, Barry Gee wrote: Hear is a good starting point. http://www.adobe.com/devnet/air/flex/ And more practically, it's an option in Builder's 'File, new, Flex project' menu to choose AIR. -- Tom Chiverton Helping to biannually harvest methodologies This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- 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 Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
[flexcoders] Printing contents of Data Grid
Hi, I want to print contents of data grid on a challan. When i try to print it , it prints dataGrid as image can u help me out in this case, to print only contents of data grid on challan? thnx in advance regards, gyanprakash pandey Did you know? You can CHAT without downloading messenger. Go to http://in.webmessenger.yahoo.com/
Re: [flexcoders] Http Service Issue -Urgent
hi, Sometimes files developed in flex builder do not work outside the flex builder. so in the compiler arguments add a command: -use-network=false click on project-properties-Flex compiler-additional compiler argument you may find already a command. just put a comma and write -use-network=false i hope this would work. Please reply me if it works. --- On Tue, 11/11/08, harsha_galla [EMAIL PROTECTED] wrote: From: harsha_galla [EMAIL PROTECTED] Subject: [flexcoders] Http Service Issue -Urgent To: flexcoders@yahoogroups.com Date: Tuesday, 11 November, 2008, 8:22 PM Hi, Iam new Flex user. I have come across a peculiar problem.. I wanted a flex UI for an already existing java project. So I went about creating the UI in Adobe flex builder and i have servlet deployed on a server to which the front end has http service calls. When i run the mxml file from IDE itself it works just fine i.e http calls work and data from servlet retreieved properly..but when i go to the project forlder and just run the html file created there the http service call fails. Can anybody tell me the solution or may be what Iam doing was wrong. Also help regarding what all files need to be uploaded to my java project is welcome. Thanks in advance... Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: [flexcoders] Re: Action script 3 JSON
Dear kyle and Veldhor, Thanx alot for your valueable responses..i got my error. It was in my php code. thnx again regards, gyanprakash pandey --- On Wed, 8/10/08, valdhor [EMAIL PROTECTED] wrote: From: valdhor [EMAIL PROTECTED] Subject: [flexcoders] Re: Action script 3 JSON To: flexcoders@yahoogroups.com Date: Wednesday, 8 October, 2008, 10:08 PM It appears from the original post that the error is Unexpected g encountered In your code you have echo gyanprakash if $_GET['getOrder' ] is set. So, is $_GET['getOrder' ] set? if so, you will get the error as the response will be gyanprakash (NOT JSON encoded). --- In [EMAIL PROTECTED] ups.com, Kyle [EMAIL PROTECTED] wrote: Is the php script that is returning the json data live somewhere on the web? Can you give me a url that I could ping that will return the json data? Thanks, Kyle --- In [EMAIL PROTECTED] ups.com, GYANPRAKASH PANDEY gyanprakash_ 108@ wrote: Dear Kyle, I did not get the error. Here is my php code; ? class Order { Â Â Â public $id; Â Â Â public $d_date; Â Â Â public $name; Â Â Â } if(isset($_GET[ 'getOrder' ])) { Â Â Â $p = new Order(); Â Â Â $p-id= '1'; Â Â Â $p-d_date= '02-03-2008' ; Â Â Â $p-name = 'Gyanprakash Pandey'; Â Â Â Â Â Â echo gyanprakash ; Â Â Â echo ($p); Â Â Â echo gyan; } else { Â Â Â $p = new Order(); Â Â Â $p-id= '1'; Â Â Â $p-d_date= '02-03-2008' ; Â Â Â $p-name = 'Gyanprakash Pandey'; Â Â Â Â Â Â Â Â Â echo json_encode( $p); ? Out put of json encoded data is : {id:1,d_ date:02- 03-2008, name:Gyanprak ash Pandey} Action script function i used to decode is : var rawData:String= event.result. toString( ); Â Â Â Â Â Â Â Â Â Â Â Â var orders:Object= (JSON.decode( rawData) as Object); myText.text= orders.id + orders.d_date + orders.name; Â Â Â Â Â Â Â Â Â Â Â Â Alert.show( Data transmitted successfully ); Still i'm getting the same error. Can you please find out the exact error! It'll be a great help. thank you very much, Regards, Gyanprakash Pandey --- On Tue, 7/10/08, Kyle ktyacke@ wrote: From: Kyle ktyacke@ Subject: [flexcoders] Re: Action script 3 JSON To: [EMAIL PROTECTED] ups.com Date: Tuesday, 7 October, 2008, 12:06 AM If you can't find the error, post the json output that is causing the error to be thrown (the json encoded data that is being returned from your php script), as well as the AS3 code that you wrote to decode the json data here and I can take a look at it for you. However, like Haykel said, more often than not this type of error is caused by a simple syntax error in your json return. -Kyle --- In [EMAIL PROTECTED] ups.com, Haykel BEN JEMIA haykelbj@ . wrote: Seems that you have a syntax error in the JSON string. Inspect its content before sending it to the JSON decoder. On Sat, Oct 4, 2008 at 2:35 PM, GYANPRAKASH PANDEY gyanprakash_ 108@ wrote: Dear all, I'm using JSON and php for back end data transfer in flex. But, i'm getting following error: Error: Unexpected g encountered at com.adobe.serializa tion.json: :JSONTokenizer/ parseError( ) at com.adobe.serializa tion.json: :JSONTokenizer/ getNextToken( ) at com.adobe.serializa tion.json: :JSONDecoder/ ::nextToken( ) at com.adobe.serializa tion.json: :JSONDecoder$ iinit() at com.adobe.serializa tion.json: :JSON$/decode( ) at adminPage/handlePla inJSON() at adminPage/__ pendingOrderRpc_ result() at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.rpc.http. mxml::HTTPServic e/ http://www.adobe. com/2006/ flex/mx/internal ::dispatchRpcEve nt()http://www.adobe. com/2006/ flex/mx/internal ::dispatchRpcEve nt%28%29 at mx.rpc::AbstractInv oker/ http://www.adobe. com/2006/ flex/mx/internal ::resultHandler( )http://www.adobe. com/2006/ flex/mx/internal ::resultHandler% 28%29 at mx.rpc::Responder/ result() at mx.rpc::AsyncReques t/acknowledge( ) at ::DirectHTTPMessage Responder/ completeHandler( ) at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at flash.net::URLLoade r/flash.net: URLLoader
Re: [flexcoders] Re: Action script 3 JSON
Dear Kyle, I did not get the error. Here is my php code; ? class Order { public $id; public $d_date; public $name; } if(isset($_GET['getOrder'])) { $p = new Order(); $p-id= '1'; $p-d_date= '02-03-2008'; $p-name = 'Gyanprakash Pandey'; echo gyanprakash; echo ($p); echo gyan; } else { $p = new Order(); $p-id= '1'; $p-d_date= '02-03-2008'; $p-name = 'Gyanprakash Pandey'; echo json_encode($p); ? Out put of json encoded data is : {id:1,d_date:02-03-2008,name:Gyanprakash Pandey} Action script function i used to decode is : var rawData:String= event.result.toString(); var orders:Object= (JSON.decode(rawData) as Object); myText.text= orders.id + orders.d_date + orders.name; Alert.show(Data transmitted successfully); Still i'm getting the same error. Can you please find out the exact error! It'll be a great help. thank you very much, Regards, Gyanprakash Pandey --- On Tue, 7/10/08, Kyle [EMAIL PROTECTED] wrote: From: Kyle [EMAIL PROTECTED] Subject: [flexcoders] Re: Action script 3 JSON To: flexcoders@yahoogroups.com Date: Tuesday, 7 October, 2008, 12:06 AM If you can't find the error, post the json output that is causing the error to be thrown (the json encoded data that is being returned from your php script), as well as the AS3 code that you wrote to decode the json data here and I can take a look at it for you. However, like Haykel said, more often than not this type of error is caused by a simple syntax error in your json return. -Kyle --- In [EMAIL PROTECTED] ups.com, Haykel BEN JEMIA [EMAIL PROTECTED] . wrote: Seems that you have a syntax error in the JSON string. Inspect its content before sending it to the JSON decoder. On Sat, Oct 4, 2008 at 2:35 PM, GYANPRAKASH PANDEY gyanprakash_ [EMAIL PROTECTED] wrote: Dear all, I'm using JSON and php for back end data transfer in flex. But, i'm getting following error: Error: Unexpected g encountered at com.adobe.serializa tion.json: :JSONTokenizer/ parseError( ) at com.adobe.serializa tion.json: :JSONTokenizer/ getNextToken( ) at com.adobe.serializa tion.json: :JSONDecoder/ ::nextToken( ) at com.adobe.serializa tion.json: :JSONDecoder$ iinit() at com.adobe.serializa tion.json: :JSON$/decode( ) at adminPage/handlePla inJSON() at adminPage/__ pendingOrderRpc_ result() at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.rpc.http. mxml::HTTPServic e/ http://www.adobe. com/2006/ flex/mx/internal ::dispatchRpcEve nt()http://www.adobe. com/2006/ flex/mx/internal ::dispatchRpcEve nt%28%29 at mx.rpc::AbstractInv oker/ http://www.adobe. com/2006/ flex/mx/internal ::resultHandler()http://www.adobe. com/2006/ flex/mx/internal ::resultHandler% 28%29 at mx.rpc::Responder/ result() at mx.rpc::AsyncReques t/acknowledge( ) at ::DirectHTTPMessage Responder/ completeHandler( ) at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at flash.net::URLLoade r/flash.net: URLLoader: :onComplete( ) Can u please help me out in this case.. Thanx alot in advance.. Regards, Gyanprakash Pandey - - Unlimited freedom, unlimited storage. Get it nowhttp://in.rd. yahoo.com/ tagline_mail_ 2/*http:/ /help.yahoo. com/l/in/ yahoo/mail/ yahoomail/ tools/tools- 08.html/ -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas- tn.com Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
[flexcoders] Action script 3 JSON
Dear all, I'm using JSON and php for back end data transfer in flex. But, i'm getting following error: Error: Unexpected g encountered at com.adobe.serialization.json::JSONTokenizer/parseError() at com.adobe.serialization.json::JSONTokenizer/getNextToken() at com.adobe.serialization.json::JSONDecoder/::nextToken() at com.adobe.serialization.json::JSONDecoder$iinit() at com.adobe.serialization.json::JSON$/decode() at adminPage/handlePlainJSON() at adminPage/__pendingOrderRpc_result() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent() at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler() at mx.rpc::Responder/result() at mx.rpc::AsyncRequest/acknowledge() at ::DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete() Can u please help me out in this case.. Thanx alot in advance.. Regards, Gyanprakash Pandey Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/