Differences between ActionScript and javascript:
- ActionScript does not support browser-specific objects, such as document, window, and anchor.
- ActionScript does not support all JavaScript built-in objects.
- ActionScript does not support some JavaScript Syntax structures, such as statement labels.
- In ActionScript, the eval () function can only execute variable reference.
- ActionScript 2.0 supports some features not available in ECMA-262 specifications, such as classes and strong types. Many of these features are taken from the ecmascript (ECMA-262) 3rd language specification (see www.ecma-international.org/publications/standards/ecma-262.htm ).
- ActionScript does not support regular expressions of Regexp objects. However, Macromedia central supports Regexp objects. For more information about Macromedia Central, visit www.macromedia.com/software/central.