What kind of expressions do you need to evaluate?

 

If you only need to evaluate simple dotted expressions like a.b.c, keep in mind that this is the same as this["a"]["b"]["c"]. Therefore you can use split() and a loop to do the evaluation.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Damien Mandrioli
Sent: Friday, June 09, 2006 1:17 AM
To: [email protected]
Subject: [flexcoders] Runtime code evaluation

 

Hello,

 

I have an open question : I don’t think there is an « eval » function in AS3 (certainly for security reasons), do you have an idea for doing such a thing ?

 

Thanks,

 

Damien

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to