Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Best Practices and Coding Conventions for ActionScript 2.0 > Naming conventions > Naming interfaces | |||
Starting interface names with an uppercase "I" helps you distinguish an interface from a class. The following interface name, IEmployeeRecords, uses an initial uppercase letter and concatenated words with mixed case, as follows:
interface IEmployeeRecords{}
The following conventions also apply:
This is the same as class names.
Printable is a good example.
For more information on interfaces, see Interfaces.
|
|
|
|