Well, I should have omited the “.as” extension when setting the document class Spent half an hour))
http://www.adobe.com/devnet/flash/quickstart/external_files_as3.html