Avoid var-args in actionscript, because they're pretty broken.

If you pass an array as the varargs argument, it doesn't supply the
varargs like it would in java, instead the whole array becomes the first
argument.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4621 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2007-03-08 19:35:11 +00:00
parent d04dd8cfeb
commit e415bb59dd
@@ -31,7 +31,7 @@ public class ManagerCaller
/**
* Called to call a method on the manager.
*/
public function invoke (method :String, ... args) :void
public function invoke (method :String, args :Array = null) :void
{
_plobj.postMessage(method, args);
}