In the majority of the cases the problem can be
overcome using the Reflect.makeVarArgs() as a workaround.
Otherwise it is possible to use an untyped expression such as untyped
__arguments__that is valid for Flash from version 6??“8.
break
(F6??“9)
break works in loop structures (for, while, do??¦while) but not inside a
switchcase.
See switch.
class
(F6??“9)
Defining a class in AS and haXe is almost identical. The biggest and more
evident difference is that AS uses the convention to name the class
constructor after the class name while in haXe the constructor of any class
always has the name new.
switch
(F6??“9)
Each case in a switch statement is a separate block of instructions and it
is not possible to fall through from one to another. Seen from an
ActionScript point of view, it is as if all the cases are automatically ended
with a break statement.
dynamic
(F6??“9)
class Sample implements Dynamic {}
for
(F6??“9)
haXe only supports the for syntax in one of the two possible flavors:
for(i in 0??¦size) { /*??¦*/ }
Where size is an integer value and i is an integer local variable that is
automatically incremented on each loop.
Pages:
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680