Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
define("as3/flash/display/SWFVersion",["module","exports","as3-rt/AS3"], function($module,$exports,AS3) { AS3.compilationUnit($module,$exports,function($primaryDeclaration){/*package flash.display {


/**
 * The SWFVersion class is an enumeration of constant values that indicate the file format version of a loaded SWF file. The SWFVersion constants are provided for use in checking the <code>swfVersion</code> property of a flash.display.LoaderInfo object.
 * @see LoaderInfo#swfVersion
 *
 * /
public final class SWFVersion {
  /**
   * SWF file format version 1.0.
   * /
  public static const FLASH1:uint = 1;
  /**
   * SWF file format version 10.0.
   * /
  public static const FLASH10:uint = 10;
  /**
   * SWF file format version 11.0.
   * /
  public static const FLASH11:uint = 11;
  /**
   * SWF file format version 2.0.
   * /
  public static const FLASH2:uint = 2;
  /**
   * SWF file format version 3.0.
   * /
  public static const FLASH3:uint = 3;
  /**
   * SWF file format version 4.0.
   * /
  public static const FLASH4:uint = 4;
  /**
   * SWF file format version 5.0.
   * /
  public static const FLASH5:uint = 5;
  /**
   * SWF file format version 6.0.
   * /
  public static const FLASH6:uint = 6;
  /**
   * SWF file format version 7.0.
   * /
  public static const FLASH7:uint = 7;
  /**
   * SWF file format version 8.0.
   * /
  public static const FLASH8:uint = 8;
  /**
   * SWF file format version 9.0.
   * /
  public static const FLASH9:uint = 9;
}*/function SWFVersion() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: SWFVersion},
      staticMembers: {
        FLASH1: 1,
        FLASH10: 10,
        FLASH11: 11,
        FLASH2: 2,
        FLASH3: 3,
        FLASH4: 4,
        FLASH5: 5,
        FLASH6: 6,
        FLASH7: 7,
        FLASH8: 8,
        FLASH9: 9
      }
    }));
  });
});
//# sourceMappingURL=SWFVersion.js.map
New to GrepCode? Check out our FAQ X