Actionscript if condition example

var a:Number = 1;
var b:String = "hello";
var c:Boolean = false;
if (a == 1) {
trace("option a");
}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.