Using String for calling function

hey guys,

have a little question:
is it possible to call a function (as my headline tells you) with a string somehow like this[“myfunction()”], but i found out this does not work. Is there any hint to make that work?

Thanks,

var watever:string = myfunction(theName) {
//whatever you want to put here
}

this"myfunction"

oh yes now its working
thank you very much