class Toaster { private var finish:String = "Reflective Silver"; } class HeatedResistorToaster extends Toaster { public function HeatedResistorToaster() {
trace(finish); //Compiler error! We don't have a finish. } }
Related Scripts with Example Source Code in same category :