Flash MX/ActionScript Graphics Tutorial (iv)

Source: Internet
Author: User
Tutorial

1.3.3.2 non-visible element type automatic recognition

The above is the identification of the visible elements of ActionScript, then some of the invisible elements in the scene, such as voice, color, and so on, how will ActionScript identify it? We can do this through type setting, such as:

Enter two lines of code in the script panel:
var newsound:sound=new Sound ()
Newsound.
When you press the dot at the back of the Newsound, "." , a small window pops up to show the associated properties of the sound.



In this case, ActionScript is still able to recognize the element type because it is defined as a Sound type variable (via: Sound) when we define Newsound.

1.3.3.3 function parameter automatic prompt
When you enter a function in the ActionScript editor and enter the opening parenthesis for the function argument, there will be a hint window that lists the parameters required by the function, and if you call a function but no such hint pops up, it usually shows you where you went wrong.



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.