Using code hints

When you are using ActionScript 2.0, you can use strict typing for 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:

import mx.controls.CheckBox;
var myCheckBox:CheckBox;
myCheckBox.

As soon as you type the period after myCheckBox, Flash displays a list of methods and properties available for CheckBox components, because you have designated the variable as type CheckBox. For more information, see About assigning data types and strict data typing in Learning ActionScript 2.0 in Adobe Flash and "To use code hints" in Using Flash.