flash on 2012-12-30

by TmskSt
♥0 | Line 19 | Modified 2012-12-30 16:57:42 | MIT License
play

ActionScript3 source code

/**
 * Copyright TmskSt ( http://wonderfl.net/user/TmskSt )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/ffFU
 */

package {
    import flash.display.Sprite;
    import com.actionscriptbible.Example;
    public class FlashTest extends Example {
        public function FlashTest() {
            // write as3 code here..
            trace(Version.F === Version.F);
            trace(Version.F === Version.T);
            
        }
    }
}

class Version {
    
    public static const F:Version    = new Version("1st");
    public static const S:Version            = new Version("2nd");
    public static const T:Version    = new Version("3rd");
        
        
    public function Version(codeName:String) {
        this._codeName = codeName;
    }
    
    private var _codeName:String;
    
    
    
}