Place two statements in the for statement : For : Statement Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Statement » For »

 

Place two statements in the for statement


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        for (var i:int 0, j:int 10; i < 10; i++, j--) {
          trace("i is " + i);
          trace("j is " + j);
        }
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Statement
» For