Hi,
check apply in help docs
eval("myFunction").apply(null, myArgumentsArray);

Thimon



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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to