Okay this might sound really really funny, but I need to do this: pass-the-bucket to another function a list of arguments to another function
function something(something something, ... args):void
{
anotherFunction(args)
}
problem is, I don’t know the number of args that will be passed into the first function (should be able to get it using length), nor do I know the number of args that the other function takes, since it can call any function, which could have any number of arguments.
So that means the above can’t work, because args is an array.
What to do?
Thanks in advanced for any help