Differences between ActionScript and JavaScript

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.