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
Translate this post











































Leave your response!