package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var cla:MyClass = new MyClass("S"); cla.aMethod( ); } }}internal class MyClass { internal var varName; private var currentVar = 1000; public function MyClass (name) { this.varName = name; } function aMethod ( ) { trace(" in aMethod"); } }
Name (required)
email (will not be published) (required)
Website