Trace statement in Actionscript
5 March 2009
No Comment
We can trace as many variables or Objects with single trace statements in both Actionscript 2.0 and Actionscript 3.0 without concat operator ‘+’
actionscript 2.0
var one:Number = 1;
var two:String = "two"
trace([one, two]);
actionscript 3.0
var one:Number = 1;
var two:String = "two"
trace(one, two);
one difference is that no need to use square brackets in AS3.0









Leave your response!