How about arguments?

var str ="trace('Hello')";
var func = str.split("(");
var arg = func[1].split("'")[1];        
eval(func[0]).call(this, arg);

Is there a serializer to pass "real" arguments?
eg. "myFunction('Hello', { x:100, name:'foo' })"

Regards,
Michael
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to