Wednesday, March 2, 2011

Entevava.com: AS3 L-13 Using the rest( ... ) Operator for Argument Arrays

Entevava.com
March 2, 2011 4:17 pm
You have subscribed to these e-mail notices about new posts to the blog.
If you want to change your settings or unsubscribe please visit:
http://entevava.com/post_notification_header-2/?code=a0ca4a4bc67e212306efaac6b1e301f1&addr=rajileshp.mobile%40blogger.com&

AS3 L-13 Using the rest( ... ) Operator for Argument Arrays

ActionScript 3.0 sports a new feature called the rest( ... ) operator. This allows us to send a comma delimeted array of arguments to our custom functions for processing. The rest operator is represented by three consecutive dots called triple dot( ... ). Using the rest operator to send array data into functions
 function myFunction(... argArray):void {    

read more...

No comments:

Post a Comment