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
Sent: mardi 13 juin 2006 09:26
To: [email protected]
Subject: RE: [flexcoders] Runtime code evaluation

 

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