as3: improved protected handling, xml support. added 'arguments' keyword
[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             trace("[exit]");
20         }
21     }
22 }