package {
////////////////////////////////////////////////// /////////////////////////////////////////////////
// IMPORTS
////////////////////////////////////////////////// /////////////////////////////////////////////////
import flash.display.Sprite;
////////////////////////////////////////////////// /////////////////////////////////////////////////
// THE CLASS
////////////////////////////////////////////////// /////////////////////////////////////////////////
public class ClassName extends Sprite {
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PUBLIC STATIC CONSTANTS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PRIVATE STAITC CONSTANTS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PUBLIC CONSTANTS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PRIVATE CONSTANTS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PUBLIC VARS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PRIVATE VARS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// GETTERS / SETTERS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PUBLIC METHODS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// constructor
public function ClassName () {
super ();
// nothing here yet
} // constructor
////////////////////////////////////////////////// /////////////////////////////////////////////////
// PRIVATE METHODS
////////////////////////////////////////////////// /////////////////////////////////////////////////
// nothing here yet
////////////////////////////////////////////////// /////////////////////////////////////////////////
} // class
////////////////////////////////////////////////// /////////////////////////////////////////////////
} // package
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.as]
@="Flash.ActionScriptFile"
[HKEY_CLASSES_ROOT\.as\ShellNew]
"FileName"="Class.as"
Source: https://habr.com/ru/post/44209/
All Articles