Hi, if I have a function:
public virtual function applicationSave(data:String):void
{
this.send("applicationSave", data,
this.commonId, this.creationId);
}
And
private function send(methodName:String, ... rest):void
{
this.sendConnection.send(this.sendName, methodName, rest);
}
(applicationSave on the other end expects 3 parameters - data, commonId
and creationId)
The "rest" parameter in the second function gets sent through as an
actual array (so I get an error on the other end of the local connection
saying expected 3 parameters but received 1). Does anyone know how I can
split up the rest parameter into separate parameters and call a
different function? I know this is possible in C/C++ but is it possible
in ActionScript?
Thanks,
Mark