Wednesday, March 2, 2011

Entevava.com: AS3 Lesson 8 Conditional Statements

Entevava.com
March 2, 2011 3:47 pm
You have subscribed to these e-mail notices about new posts to the blog.
If you want to change your settings or unsubscribe please visit:
http://entevava.com/post_notification_header-2/?code=a0ca4a4bc67e212306efaac6b1e301f1&addr=rajileshp.mobile%40blogger.com&

AS3 Lesson 8 Conditional Statements

ActionScript 3.0 gives us two main ways to run conditional statements in our code. { if... else } and { switch } statements are made for this purpose..

Using if..... else if.....  and else


Using if to make code execute according to one conditon
 var numA:uint = 2;  var numB:uint = 5;   if (numA != numB) {      trace("Numbers do not match");  } 

 Numbers do 

read more...

No comments:

Post a Comment