2 import flash.display.MovieClip;
8 public class C1 implements I1 {
10 public class C2 extends C1 implements I2 {
18 public class Main extends flash.display.MovieClip {
19 public function Main() {
20 var x:CC2 = new CC2();
21 if(x is CC1) trace("ok 1/8");
22 if(x is CC2) trace("ok 2/8");
23 if(x is II1) trace("ok 3/8");
24 if(x is II2) trace("ok 4/8");
29 if(x === a) trace("ok 5/8");
30 if(x === b) trace("ok 6/8");
31 if(x === c) trace("ok 7/8");
32 if(x === d) trace("ok 8/8");