Is it possible to apply script 2 to the main timeline or does it have to be applied to a movieclip only?

Thanks,