added more tests
[swftools.git] / lib / as3 / ok / innerfunctionslots.as
1 package {
2     import flash.display.MovieClip
3     import flash.events.Event
4
5     public class Main extends flash.display.MovieClip {
6         public function test(e:Event) {
7             if(e.type instanceof String) {
8                 trace("ok");
9             }
10
11             function inner(x:String) {
12                 trace(e.type);
13             }
14         }
15         public function Main() {
16             var e = new Event("");
17             test(e);
18         }
19     }
20 }