Replying to myself this feature from ActionScript, also exists on Royale,
however it's the parameter is case sensitive.
The correct implementation (but with the same behaviour as Flex) is:
public function call(... Arguments):void
Notice de "A" instead of "a".

Hugo Ferreira <[email protected]> escreveu no dia quinta, 2/07/2020
à(s) 23:26:

> With flex I can set an unknown number of parameters this way: public
> function call(... arguments):void
> Then I can call this way myobject.call(parameter1, parameter2, etc ...)
>
> Inside of the method I get an array of parameters, however trying to do
> the same with Royale I get the very first parameter (a string) as an array
> of chars
>

Reply via email to