new parameter -s textonly
[swftools.git] / ok / vars.as
1 package {
2     import flash.display.MovieClip;
3     public class Main extends flash.display.MovieClip {
4         function Main() {
5             
6             var x = 3;
7             if(true) {
8                 var x = 4;
9                 var y = 5;
10             }
11             if(   x == 4 //flex logic
12                || x == 3 //as3compile logic
13               ) 
14                 trace("ok 1/2");
15
16             if(y==5)
17                 trace("ok 2/2");
18
19             trace("[exit]");
20         }
21     }
22 }