treat glyphs with alpha=0 differently than normal glyphs (remove outlines)
[swftools.git] / lib / as3 / ok / typeof.as
1 package {
2     import flash.display.MovieClip;
3     public class Main extends flash.display.MovieClip {
4         function f() {}
5         function Main() {
6             if(typeof(3)=="number") trace("ok 1/7");
7             if(typeof("")=="string") trace("ok 2/7");
8             if(typeof(this)=="object") trace("ok 3/7");
9             if(typeof(undefined)=="undefined") trace("ok 4/7");
10             if(typeof(null)=="object") trace("ok 5/7");
11             if(typeof(f)=="function") trace("ok 6/7");
12             if(typeof(Main)=="object" ||
13                typeof(Main)=="movieclip") trace("ok 7/7");
14             trace("[exit]");
15         }
16     }
17 }