function manyArgs( obj ){ for ( var q in obj ) trace( q+"="+obj[q]) } manyArgs( { a:123, b:"someStroke", c:[1,2,3,4,5], d:any_var_name ...} )