Window>Properties>Publish>Script> Select ActionScript 2.0



Also, when you create a new document you can choose between As2 and As3. Hope that helps