Activating the action script editor automatically generates the declaration of the Main procedure in the code of the new script. This subroutine represents the starting procedure. It is possible to define other procedures (routines and functions) called directly or indirectly by this procedure.