17b4e002e0ec0f4f725f031021fe1dd469829ed1
[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
8             if(e.type instanceof String) {
9                 trace("ok");
10             }
11
12             function inner(x:String) {
13                 trace(e.type);
14             }
15         }
16         public function Main() {
17             var e = new Event("");
18             test(e);
19         }
20     }
21 }