|
The aim is to produce function source code
on server and use it on flex client. The only real solution would be to write
an AS3 interpreter but i’m not sure it is possible. I’m solving the problem differently
by producing an XML representation of functions logic. Thank you for your answer. Damien From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith 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: 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
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Runtime code evaluation Gordon Smith
- RE: [flexcoders] Runtime code evaluation Damien Mandrioli
- Re: [flexcoders] Runtime code evaluation Anatole Tartakovsky

