treat glyphs with alpha=0 differently than normal glyphs (remove outlines)
[swftools.git] / lib / as3 / ok / with.as
1 package {
2     import flash.display.MovieClip;
3     public class A {
4         var ok1 = "ok 1/4";
5         function ok2() {
6             trace("ok 2/4");
7         }
8         static var ok3="ok 3/4";
9         static function ok4() {
10             trace("ok 4/4");
11         }
12     }
13     public class Main extends flash.display.MovieClip {
14         function Main() {
15             var a:A = new A;
16             with(a) {
17                 trace(ok1);
18                 ok2();
19             }
20             with(A) {
21                 trace(ok3);
22                 ok4();
23             }
24             trace("[exit]");
25         }
26     }
27 }