Hy!
I seem to have run into a more delicate problem. I want to execute a custom function from action script, a function with a name that is trasmitted trough a string.
For example function named **Move **[
Move = function(arg1){..}
] i want to do something like
callfunction(“Move”,arg1);
is this at all posibile in Action Script?
or it would be even better if the script could internally execute a string like a misc function in php.
e.g.:
eval("Move(a);")
[COLOR=Silver]eval() evaluates the string given in code_str as PHP code. Among other things, this can be useful for storing code in a database text field for later execution. [/COLOR]
How bout that? Possible?
If anyone was some insight into the problem it would be greatly apreciated.
Thanks everyone!