Prev | Current Page 666 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

MovieClip instance.
unloadMovieNum()
(F6??“8)
Not implemented.
updateAfterEvent()
(F6??“8)
Use the updateAfterEvent() method of one of the following
classes: KeyboardEvent, MouseEvent and TimerEvent.
XML()
(F9)
haXe has a unified way to deal with XML documents. Use the
Xml.parse() static method to create an XML object.
XMLList()
(F9)
See XML().
Chapter 12: Building Interactive Content with Flash
353
ActionScript Operator
(Flash Version) haXe Equivalent
delete
(F6??“9)
Reflect.deleteField()
Field access operator: []
(F6??“9)
Reflect.field() to read.
Reflect.setField() to change the value.
To iterate over object fields use Reflect.fields(); class methods will
be ignored.
Reflect.setField() cannot be used to redefine a method in Flash 9
unless it is modified with the keyword f9dynamic.
instanceof
(F6??“9)
Std.is()
In Flash 9, the is operator is preferred over instanceof, which has been
left only for backward compatibility with ECMAScript 3.
is
(F9)
Std.is()
Name qualifier: ::
(F9)
Not implemented in haXe.


Pages:
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678