 // Implementation limits prevent us from actually allocating a vector as large
 // as these sizes, so all of these references will be to undefined properties.
 
-if (System.swfVersion >= 11) {
+if (swfVersion >= 11) {
     AddVectorReadExceptionTest  ("max_uint_p1", max_uint_p1,   RANGE);
     AddVectorWriteExceptionTest ("max_uint_p1", max_uint_p1,   RANGE);
     AddVectorReadExceptionTest  ("max_uint",    max_uint,      RANGE);

}

// "-5.1"
if (System.swfVersion >= 11) {
    AddVectorReadExceptionTest  ("'-5.1'", "-5.1", RANGE);
    AddVectorWriteExceptionTest ("'-5.1'", "-5.1", RANGE);
} else {

   * SWF version 11 and above.  It is retained to preserve existing tests applicable to prior versions.
   */

import avmplus.*;
import flash.display.*;

if (playerType == 'AVMPlus') {
    swfVersion = System.swfVersion;
} else {
    swfVersion = LoaderInfo.swfVersion;
}


var SECTION = " ";
var VERSION = "AS3";
