Looping "For" in Actionscript 3.0

Here's an example of looping that you will be typing in Adobe Flash Actionscript 3.0 :

  for (var i :int = 1; i<=5; i++){
      trace(“hello gamer”);

  }And result :

   hello gamer
   hello gamer
   hello gamer
   hello gamer
   hello gamerexplain :
 - And i++ will print the phrase "hello gamer" repeated 5 times

~ Good luck

Share this

Related Posts

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer