Home > Actionscript 3, Flash > Tutorial Actionscript 3 – Dynamic params in a function

Tutorial Actionscript 3 – Dynamic params in a function

If you want to create a function, but don’t know how many arguments you will get. This is your option.

private function testDynamicArguments(...args):void
{
	trace("Get: " + args + "array lenght: " + args.length);
}
Categories: Actionscript 3, Flash Tags:
  1. No comments yet.
*

Spam Protection by WP-SpamFree

Get Adobe Flash playerPlugin by wpburn.com wordpress themes