Prev | Current Page 672 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

MovieClip, flash.Button, or
flash.TextField.
_global
(F6??“8)
flash.Lib._global
_level
(F6??“8)
Not implemented.
_parent
(F6??“8)
Use the _parent variable of flash.MovieClip, flash.Button, or
flash.TextField.
_quality
(F6??“8)
Use the _quality variable of flash.MovieClip, flash.Button, or
flash.TextField.
_root
(F6??“8)
flash.Lib._root
_soundbuftime
(F6??“8)
Use the _soundbuftime variable of flash.MovieClip, flash.Button,
or flash.TextField.
ActionScript Keyword
(Flash Version) haXe Equivalent
const
(F9)
Not implemented.
namespace
(F9)
Not implemented.
package
(F9)
Packages have the same role in AS3 as in haXe but with a different syntax.
In AS3, package contents are included in curly brackets while in haXe a
package is a single line statement valid for the entire file where it is
declared.
use namespace
(F9)
Not implemented.
Chapter 12: Building Interactive Content with Flash
357
Table 12-7
ActionScript Class
(Flash Version) haXe Equivalent
Array
(F6??“9)
Array
Arrays and collections in general are strictly typed in haXe.


Pages:
660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684