[flex_india:21979] Re: subtract one day from from give date
Hi , convert date into millisecond then subtract on day . virat already given code. Neeraj On Apr 30, 12:19 pm, v...@t vira...@gmail.com wrote: Hello var MILLISECONDS_PER_DAY : Number = 1000 * 60 * 60 * 24; var currentDate : Date = new Date(); // in youe case it's given date var time : Number = currentDate.getTime() - MILLISECONDS_PER_DAY; var newDate : Date = new Date(time); // require Output let me know if you need more information Thanks Virat On Apr 28, 11:07 am, krishna krishnamrajg...@gmail.com wrote: hi, i need code for subtracting one day from a given date. ie; (givendate-1). ex 09/nov/1982(given date) in need to display 08/nov/1982. can some body help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21982] Re: LCDS
u r welcome On Sat, May 2, 2009 at 7:14 PM, Jagadish M jagan.f...@gmail.com wrote: thank you Kamalakannan, On Sat, May 2, 2009 at 10:06 AM, Kamalakannan R kamalust...@gmail.comwrote: hai jagadish try the followin links. http://wangyu.javaeye.com/blog/241599 http://www.brucephillips.name/blog/index.cfm/2008/6/25/Using-BlazeDS-to-Connect-Flex-to-A-Java-Class-That--Returns-Data-From-A-Database On Thu, Apr 30, 2009 at 8:32 PM, Jagadish M jagan.f...@gmail.com wrote: Hie frnds, I'm little bit confused with HTTP Services LCDS where we use the these two. programming with HTTP Services is okay ... but when it comes to LCDS how to start this lcds application.. can any body tell the basic functionality and if possible links of an example.. -- Thanks Regards, Jagan Mady's -- With Regards, R.Kamalakannan. 9442172883 -- Thanks Regards, Jagan Mady's -- With Regards, R.Kamalakannan. 9442172883 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21984] Reduce swf file size in flex
how can i reduce the file size in flex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21983] plzzzz help!!!!! its a simple one
Hi... The problem is that i am getting the values on my datagridthat is the tuple gets selected showin tht there is value in the each cellbut the values are not getting displayed on the datagrid. This is my code:: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApplication() mx:Script ![CDATA[ import mx.collections.*; import mx.rpc.Fault; [Bindable] public var dp: ArrayCollection; public var res: Responder= new Responder(onResult, onFault); import flash.net.*; public var gateway : NetConnection; public function initApplication() { gateway = new NetConnection( ); gateway.connect(http://localhost/amfphp/gateway.php;); gateway.call( vrock.send,res,3) ;// 3 is the parameter sent to amfphp } public function onResult( responds : Object ) : void { var t:Array= responds.serverInfo.initialData; dp= new ArrayCollection(t); } public function onFault( responds : Object ) : void { for(var i in responds) { trace( responds[i] ); } } ]] /mx:Script mx:DataGrid id=myGrid width=350 height=200 dataProvider={dp} color=#041B20 borderColor=#589CCC mx:columns mx:DataGridColumn dataField=username / mx:DataGridColumn dataField=emailaddress / mx:DataGridColumn dataField=userid / /mx:columns /mx:DataGrid /mx:Application here is my amfphp service: ?php class vrock { /** * this service sends username,userid,emailaddress values * @returns array */ function send($wanted) { $mysql = mysql_connect(localhost,root,password); mysql_select_db(sample); $Query = select * from users where userid=$wanted; $Result = mysql_query( $Query ); return ($Result); } } ? can someone plzzz help me out i am not able to figure it out. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21985] Re: Change PaperFormat in FlexReport
Hi, Where can I download flexreport mxml? On Fri, Apr 24, 2009 at 9:53 AM, Manik manik.ma...@gmail.com wrote: I want to use FlexReport http://www.kemelyon.com/bts/2008/01/14/ flexreport/ http://www.kemelyon.com/bts/2008/01/14/%0Aflexreport/ in my flex application. Its a good reporting tool for flex but it works with PaperFormat A4 only ... when i change PaperFormat from A4 to some other say A3, Legal or Letter etc. i get below error - Error: Error #2030: End of file was encountered. at flash.display::BitmapData/setPixels() at org.print::Page/render() Can anybody please tell me how can i change paper format at runtime in flex report. Thanks Manik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21986] Re: Swf reduce file size
here this article explains many ways to reduce file size in flex applications, i hope its helpfull to you . herer is the link : http://askmeflash.com/article_m.php?p=articleid=9 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21987] Bangalore Flex User Group Meet on 15 May,2009 - flex with BlazeDS
[cross posting at flex-india.org] HI Guys, time for us to meet again and this time we would be disucssing more about flex and LCDS/BlazeDS. This time we have *Sujit* with us, he will speak about *flex with BlazeDS*. As many of us would already know, Sujit works with Flex engineering team at Adobe's Bangalore Office. He has been a Technical Evangelist for quite some time and has spoken on various confrences and tech events on topics related to flex, java, BlazeDS. links to know more about Sujit - http://www.sujitreddyg.com/ Twitter -http://twitter.com/sujitg wordpress blog - http://sujitreddyg.wordpress.com/ *When* – 15th may, 2009 Friday *Time* – 5pm to 8pm *Where *– *Adobe Systems Bangalore* *(Top Floor Cafeteria)* Salarpuria Infinity, 3rd Floor #5, Bannerghatta Road bangalore, karnataka India * * *Google Map Location *- http://maps.google.com/maps?f=qsource=s_qhl=engeocode=q=adobe+systems+bangaloresll=12.931999,77.602401sspn=0.032081,0.05579ie=UTF8ll=12.926101,77.603002spn=0.032082,0.05579z=15 *Register *– http://bangalorefxmay09.eventbrite.com/http://bangalorefxapr09.eventbrite.com/ We look forward to meet you sujit on the 15th and would surely expect a great time with some really kool insights on BlazeDS, thanks for your time. *Important : - Please dont forget to register before attending the meeting, the registeration is compulsory as only registered participants would be allowed inside the Adobe Campus.* Thanks *Mrinal Wadhwa* *Manager, BangaloreFx* *Saurabh Narula* *Co-Manager,BangaloreFx* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21988] two dataprovider for one datagrid?
Hi guys I need to know on thing Is there any option of giving two dataprovider for one datagrid Why i am asking is that i am creating time datagrid where i need to send time first and send data by filtering next any idea please help -- Karthik.k Mobile - +91-9894991640 http://kkarthikresume.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:21989] datafield as header text in datagrid
hi guys I need to know one thing Is there any chance of making datafield data as header text in datagrid so that data in one column will be the header text i need to change the format ofdatagrid any idea please help -- Karthik.k Mobile - +91-9894991640 http://kkarthikresume.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Flex India Community group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---