6 protected function f() {
10 public class D extends C {
11 protected function e() {
13 override protected function f() {
19 public class X extends p.D {
25 import flash.display.MovieClip
26 public class Main extends flash.display.MovieClip {
31 /* not sure what the difference between "is" and "instanceof" actually is */
32 if(x is X) trace("ok 2/5");
33 if(x is D) trace("ok 3/5");
34 if(x instanceof X) trace("ok 4/5");
35 if(x instanceof D) trace("ok 5/5");