You do not have permission to view this post
Edit: previous post incorrect (sorry!) just checking a few more bits now.
You're looking for the eval() method:
http://www.w3schools.com/jsref/jsref_eval.asp
Currently this isn't implemented yet but someone might make a quick plugin for it. You should be wary using it if you're planning on submitting your games to certain arcades/other websites as many will for good reason disallow functions such as this for security reasons.
Member since 10 Jun, 2007
The official blog for all things Construct and Scirra run by our employees!
Toms view on all things web and games!