Question
Execute string as a function
Hello Friends,
Can anyone guide me through this...
I want to execute a string as as a normal statement line...
for example...
var str:String = "trace('done')";
function abc() {
str;
}
I want this code to work as:
function abc() {
trace('done');
}
Please help me guys, I am in trouble...
Your help will be highly appreciated...
Thanks in anticipation...
Looking for your reply...
Can anyone guide me through this...
I want to execute a string as as a normal statement line...
for example...
var str:String = "trace('done')";
function abc() {
str;
}
I want this code to work as:
function abc() {
trace('done');
}
Please help me guys, I am in trouble...
Your help will be highly appreciated...
Thanks in anticipation...
Looking for your reply...