[as]
var totalArgs = arguments.length;
trace(“Number of Arguments passed = ” + totalArgs);
for (var i:Number = 0; i < totalArgs; i++) {
trace ("Argument "+i + ": " + arguments[i]);
}
[/as]
Learning through interaction
[as]
var totalArgs = arguments.length;
trace(“Number of Arguments passed = ” + totalArgs);
for (var i:Number = 0; i < totalArgs; i++) {
trace ("Argument "+i + ": " + arguments[i]);
}
[/as]