 ﻿
 package com.google.analytics.utils
 {
+    import core.version;
     
     public class FakeEnvironment extends Environment
     {
         private var _appName:String;
-        private var _appVersion:Version;
+        private var _appVersion:version;
         private var _url:String;
         private var _referrer:String;
         private var _documentTitle:String;
         private var _domainName:String;
         private var _locationPath:String;
         private var _locationSearch:String;
-        private var _flashVersion:Version;
+        private var _flashVersion:version;
         private var _language:String;
         private var _languageEncoding:String;
         private var _operatingSystem:String;

            return _locationSearch;
        }
        
        public override function get flashVersion():Version
        {
            return _flashVersion;
        }

        private var _isInHTML:Boolean;
        private var _isAIR:Boolean;
        
        public function FakeEnvironment( appName:String = "", appVersion:version = null,
                                       url:String = "", referrer:String = "",
                                       documentTitle:String = "", domainName:String = "",
                                       locationPath:String = "", locationSearch:String = "",
                                       flashVersion:version = null, language:String = "",
                                       languageEncoding:String = "", operatingSystem:String = "",
                                       playerType:String = "", platform:String = "",
                                       protocol:String = null, screenWidth:Number = NaN,
