Dynamic function params

is it possible to store a list of params needed for a function in an array and then use that in a funciton call?

ie

var myParams:Array = [“param1”, “param2”, “param3”]

function myFunction(p1=“test1”, p2=“test2”, p3=“test3”){
doStuff;
}

myFunction(myParams:Array)

or something like that?? Prob have to iterate the array but how do i get the params into the function call? Is this even possible?

-=b=-