![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
When you are using ActionScript 2, you can strictly type a variable that is based on a built-in class, including component classes. If you do so, the ActionScript editor displays code hints for the variable. For example, suppose you type the following:
var myCheckBox:CheckBox myCheckBox.
As soon as you type the period, Flash displays a list of methods and properties available for CheckBox components, because you have typed the variable as a CheckBox. For more information on data typing, see Strict data typing. For information on using code hints when they appear, see Using code hints.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |