Is it possible to pass more than one variable to a function?
As an array or anything else?
The variables may sometimes only one, sometimes more than three, etc.
Would very appreciate if someone can modify the code, thanks a lot!
ActionScript Code: disableKey("key1", "key2", "key3")function disableKey(target:Array){ for(var i=0; i<target.length; i++){ target[0].doSth; }}
Passing multiple parameters to function
Tuesday, June 26, 2012
[Action Script] Passing multiple parameters to function June,2012
Posted by Bimo Hery Prabowo at 7:13 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment