Hi, Thanks for the reply. I checked the issue with this link. but its not executing the code in string. it just convert string to int and etc. I just want to execute the code which is written in a string.
Thanks Shridhar On Saturday, 22 December 2012 19:04:22 UTC+5:30, Abinash wrote: > > > Hi Shridhar, > > I hope this library solves your issue! I have not worked on this library, > but looks like this can work in your case. > http://www.riaone.com/products/deval/ > > Thanks, > Abinash > On Thursday, 20 December 2012 18:37:33 UTC+5:30, shridhar kulkarni wrote: >> >> Hi, >> >> I am currenlty working on Air. >> >> I need some help from you guys. >> >> I am having one string variable in which I stored code as a String >> For Example >> var s:String = " Alert.Show("Hello")"; >> function printData(s:String):void >> { >> ?? >> } >> >> >> When I call 'printData ' function , >> I want to execute the code which has given in string variable. i.e for >> here I want to show AlertBox. >> >> As in PHP/Python there is Eval functionality which executes a code given >> in a string. >> >> Can this is possible in Air????? >> >> Please Help me >> >> Thanks in advance...!!! >> Shridhar >> >> >> >> >> -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To view this discussion on the web visit https://groups.google.com/d/msg/flex_india/-/n9s_cSCWfy0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

