Prev | Current Page 875 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

org/doc/view/builtins
In haXe you can use the very same operations, but the dollar prefix must be replaced with __dollar__ .
So the aforementioned $ scopy() is available as __dollar__scopy() .
Flash
A set of Flash - specific keywords are defined and enclosed between double underscore symbols, as
shown in Table 16 - 4 . The names are directly mapped to the Flash API and need no description.
Part III: Extending the Possibilities
478
Table 16-4
Magic Statement Flash Version
__arguments__ Flash 6 to 9
__as__ (e, t) Flash 9
__delete__(o, f) Flash 6 to 9
__eval__(e) Flash 6 to 8
__gettimer__() Flash 6 to 8
__geturl__(e1, e2) Flash 6 to 8
__global__ Flash 9
__instanceof__(e1, e2) Flash 6 to 8
__in__ (e,f) Flash 9
__is__(e, t) Flash 9
__keys__(e) Flash 9
__new__ Flash 6 to 9
__random__(e) Flash 6 to 8
__trace__(e) Flash 6 to 8
For further information on the Flash platform, see Chapter 12 .
JavaScript
The JavaScript environment has just one magic function __js__ . Whatever is passed to this function is
treated as native JavaScript code and passed as is in the output file.


Pages:
863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887