interesting -- if you replace A with this:
class A {
private function A(){};
public static var doit:Function; // will be defined later
private static function dothis() {
trace( "A.dothis" );
}
}
and then, keeping B as it was in the example:
A.doit = function () {
this.dothis();
};
B.doit();
it traces... "A.dothis"!
mark
--
http://snafoo.org/
jabber: [EMAIL PROTECTED]
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders