In Adobe Flex, it is possible to declare a public function, which can be overridden in a class that extends that function's class:
public class class1 {
public function method1 {
public var var1:string = "hello world";
}
}
public class class2 extends class1 {
override public function method1 {
alert.show(super.var1 + "!");
}
}
See how that public var can be accessed by the extending class?
I am wondering if such a thing is possible in ColdFusion. I know that Component-specific variables are stored in the "this" and "Variables" scope, and the "var" scope is private to the method in which it is declared, but, is there something...in between?
p.s. sorry for the most vague tags ever on this....