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.