﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="System,flash.system.System,ALPHANUMERIC_FULL,ALPHANUMERIC_HALF,APPLICATION,CAMERA,CHINESE,DEFAULT,DISPLAY,JAPANESE_HIRAGANA,JAPANESE_KATAKANA_FULL,JAPANESE_KATAKANA_HALF,KOREAN,LOCAL_STORAGE,LOCAL_TRUSTED,LOCAL_WITH_FILE,LOCAL_WITH_NETWORK,MICROPHONE,MIN_DOMAIN_MEMORY_LENGTH,PRIVACY,REMOTE,SETTINGS_MANAGER,UNKNOWN,allowLoadBytesCodeExecution,applicationDomain,avHardwareDisable,checkPolicyFile,conversionMode,currentDomain,currentDomain,deblockingFilter,domainMemory,enabled,exactSettings,hasAccessibility,hasAudioEncoder,hasAudio,hasEmbeddedVideo,hasIME,hasMP3,hasPrinting,hasScreenBroadcast,hasScreenPlayback,hasStreamingAudio,hasStreamingVideo,hasTLS,hasVideoEncoder,ime,isDebugger,isEmbeddedInAcrobat,language,languages,localFileReadDisable,manufacturer,maxLevelIDC,os,parentDomain,pixelAspectRatio,playerType,sandboxType,screenColor,screenDPI,screenResolutionX,screenResolutionY,securityDomain,serverString,totalMemory,useCodePage,version,allowDomain,allowInsecureDomain,compositionAbandoned,compositionSelectionChanged,doConversion,exit,fscommand,gc,getDefinition,hasDefinition,loadPolicyFile,pause,resume,setClipboard,setCompositionString,showSettings"><title>flash.system.System (ActionScript 3.0)</title><script src="../../AC_OETags.js" type="text/javascript"></script></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript">  
            <!--  
			    
				asdocTitle = 'System - ActionScript 3.0 Language and Components Reference';

				var baseRef = '../../';

				window.onload = configPage;
			      
			    -->  
            </script>
<script language="javascript" type="text/javascript"><!--
function submitValue(){
var searchStr=document.getElementById('search-livedocs').value;
window.location="../../search.html"+"###"+searchStr;
}
--></script><script type="text/javascript">
		scrollToNameAnchor();
	</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">ActionScript 3.0 Language and Components Reference</td><td class="titleTableSearch" align="center"><form class="searchForm" method="get" action="../../search.html" onsubmit="submitValue();"><input class="hidden" name="loc" value="" type="hidden"><input class="hidden" name="termPrefix" value="" type="hidden"><input class="hidden" name="term" value="" type="hidden"><input class="hidden" name="area" value="" type="hidden"><input id="search-livedocs" name="search_text" value="" title="" type="text"> <input type="button" name="action" value="Search" onclick="submitValue()"></form></td><td class="titleTableTopNav" align="right"><a href="../../../../Flash/10.0_Welcome/index.html">Home</a>&nbsp;|&nbsp;<a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../language-elements.html">Language Elements</a>&nbsp;| <a href="../../all-index-Symbols.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a href="../../appendixes.html">Appendixes</a>&nbsp;|&nbsp;<a href="../../conventions.html">Conventions</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?flash/system/System.html&amp;flash/system/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">System</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#styleSummary">Styles</a>&nbsp;| <a href="#effectSummary">Effects</a>&nbsp;| <a href="#constantSummary">Constants</a>&nbsp;| <a href="#includeExamplesSummary">Examples</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
                
                    
                

				<!--

				
				    
				

					if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("System"); titleBar_setSubNav(false,true,false	,false,false,false,true,true,false	,false,false,false,false,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">flash.system</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public final   class  System</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">System  <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../Object.html">Object</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p></p>
        The System class contains properties related to certain operations that take place 
 on the user's computer, such as
        <span>operations with shared 
 objects, local settings for cameras and microphones, and</span>
        the use of the Clipboard.
        <p>
          Additional properties and methods are in other classes within the flash.system package:
 the Capabilities class,
          <span>the IME class,</span>
          and the 
 Security class.
        </p>
        
               <p>This class contains only static methods and properties. You cannot 
 create new instances of the System class.</p>
        
            <p></p><p><a href="#includeExamplesSummary">View the examples</a></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="Security.html" target="">flash.system.Security</a><br/><a href="../../flash/events/IMEEvent.html" target="">flash.events.IMEEvent</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th>Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#constructor" class="signatureLink">constructor</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">A reference to the class object or constructor function for a given object instance.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ime" class="signatureLink">ime</a> : <a href="../../flash/system/IME.html">IME</a><div class="summaryTableDescription">[static] [read-only] The currently installed system IME.</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#prototype" class="signatureLink">prototype</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">[static] A reference to the prototype object of a class or function object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#totalMemory" class="signatureLink">totalMemory</a> : <a href="../../uint.html">uint</a><div class="summaryTableDescription">[static] [read-only] The amount of memory (in bytes) currently in use by Adobe&reg; 
  Flash&reg; Player or Adobe&reg; AIR&trade;.</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#useCodePage" class="signatureLink">useCodePage</a> : <a href="../../Boolean.html">Boolean</a><div class="summaryTableDescription">[static] A Boolean value that determines which code page to use to interpret external text files.</div></td><td class="summaryTableOwnerCol">System</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#exit()" class="signatureLink">exit</a>(code:<a href="../../uint.html">uint</a>):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">[static] Closes Flash Player.</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#gc()" class="signatureLink">gc</a>():<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">[static] Forces the garbage collection process.</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#hasOwnProperty()" class="signatureLink">hasOwnProperty</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an object has a specified property defined.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#isPrototypeOf()" class="signatureLink">isPrototypeOf</a>(theClass:<a href="../../Object.html">Object</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an instance of the Object class is in the prototype chain of the object specified 
  as the parameter.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#pause()" class="signatureLink">pause</a>():<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">[static] Pauses Flash Player or the AIR Debug Launcher (ADL).</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#propertyIsEnumerable()" class="signatureLink">propertyIsEnumerable</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether the specified property exists and is enumerable.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#resume()" class="signatureLink">resume</a>():<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">[static] Resumes the application after calling System.pause().</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#setClipboard()" class="signatureLink">setClipboard</a>(string:<a href="../../String.html">String</a>):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">[static] Replaces the contents of the Clipboard with a specified text string.</div></td><td class="summaryTableOwnerCol">System</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#setPropertyIsEnumerable()" class="signatureLink">setPropertyIsEnumerable</a>(name:<a href="../../String.html">String</a>, isEnum:<a href="../../Boolean.html">Boolean</a> = true):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Sets the availability of a dynamic property for loop operations.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#toString()" class="signatureLink">toString</a>():<a href="../../String.html">String</a></div><div class="summaryTableDescription">Returns the string representation of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#valueOf()" class="signatureLink">valueOf</a>():<a href="../../Object.html">Object</a></div><div class="summaryTableDescription">Returns the primitive value of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
                      showHideInherited();
                      --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="ime"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ime</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>ime:<a href="../../flash/system/IME.html">IME</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          The currently installed system IME. 
  To register for imeComposition events, call
          <code>addEventListener()</code>
          on this instance.
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get ime():<a href="../../flash/system/IME.html">IME</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="IMEConversionMode.html" target="">IMEConversionMode</a></div></div><a name="propertyDetail"></a><a name="totalMemory"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">totalMemory</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>totalMemory:<a href="../../uint.html">uint</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          The amount of memory (in bytes) currently in use by
          <span>
            Adobe
            <sup>&reg;</sup>
            Flash
            <sup>&reg;</sup>
            Player or
          </span>
          Adobe
          <sup>&reg;</sup>
          AIR&trade;.
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get totalMemory():<a href="../../uint.html">uint</a></code><br/></div><a name="propertyDetail"></a><a name="useCodePage"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">useCodePage</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>useCodePage:<a href="../../Boolean.html">Boolean</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          A Boolean value that determines which code page to use to interpret external text files. 
  When the property is set to
          <code>false</code>
          , external text files are interpretted as Unicode. 
  (These files must be encoded as Unicode when you save them.) When the property is set to
          <code>true</code>
          , external text files are interpretted using the traditional code page of the 
  operating system running the application. The default value of
          <code>useCodePage</code>
          is
          <code>false</code>
          .
          <p>
            Text that you load as an external file (using
            <code>Loader.load()</code>
            , the URLLoader class or
  URLStream) must have been saved as Unicode in order for the application to recognize it 
  as Unicode. To encode external files as Unicode, save the files in an application that 
  supports Unicode, such as Notepad on Windows.
          </p>
          
          <p>
            If you load external text files that are not Unicode-encoded, set
            <code>useCodePage</code>
            to
            <code>true</code>
            . 
  Add the following as the first line of code in the
            <span>first frame of the</span>
            file that 
  is loading the data:
          </p>
          
          <pre>
            <code>System.useCodePage = true;</code>
          </pre>
          
          <p>
            When this code is present, the application interprets external text 
  using the traditional code page of the operating system. 
  This is generally CP1252 for an English Windows operating 
  system and Shift-JIS for a Japanese operating system.
            <span>
              If you set
              <code>useCodePage</code>
              to
              <code>true</code>
              , 
  Flash Player 6 and later treat text as Flash Player 5 does. (Flash Player 5 
  treated all text as if it were in the traditional code page of the operating 
  system running the player.)
            </span>
          </p>
          
          <p>
            If you set
            <code>useCodePage</code>
            to
            <code>true</code>
            , remember that the 
  traditional code page of the operating system running the application must include 
  the characters used in your external text file in order to display your text. 
  For example, if you load an external text file that contains Chinese characters, 
  those characters cannot display on a system that uses the CP1252 code page because 
  that code page does not include Chinese characters.
          </p>
          
          <p>
            To ensure that users on all platforms can view external text files used in your 
  application, you should encode all external text files as Unicode and leave
            <code>useCodePage</code>
            set to
            <code>false</code>
            . This way, the application
            <span>(Flash Player 6 and later)</span>
            interprets the text as Unicode.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get useCodePage():<a href="../../Boolean.html">Boolean</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set useCodePage(value:<a href="../../Boolean.html">Boolean</a>):<a href="../../specialTypes.html#void">void</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="../../flash/display/Loader.html#load()" target="">flash.display.Loader.load()</a></div></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="exit()"></a><a name="exit(uint)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">exit</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public static function exit(code:<a href="../../uint.html">uint</a>):<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9.0.115.0</td></tr></table><p></p><p></p><p>
          Closes Flash Player.
          <p>
            <i>For the standalone Flash Player debugger version only.</i>
          </p>
          
          <p>
            AIR applications should call the
            <code>NativeApplication.exit()</code>
            method to exit the application.
          </p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">code</span>:<a href="../../uint.html">uint</a></code> &mdash; A value to pass to the operating system. Typically, if
     the process exits normally, the value is 0.</td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="../../flash/desktop/NativeApplication.html#exit()" target="">flash.desktop.NativeApplication.exit()</a></div></div><a name="gc()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">gc</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function gc():<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9.0.115.0</td></tr></table><p></p><p></p><p>
          Forces the garbage collection process.
          <p>
            <span>
              <i>For the Flash Player debugger version and AIR applications only.</i>
            </span>
            In an AIR application, the
            <code>System.gc()</code>
            method is only enabled in content running in the AIR Debug Launcher
  (ADL) or, in an installed applcation, in content in the application security sandbox.
          </p>
          
        </p></div><a name="pause()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">pause</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function pause():<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9.0.115.0</td></tr></table><p></p><p></p><p>
          Pauses
          <span>Flash Player or</span>
          the AIR Debug Launcher (ADL). 
  After calling this method, nothing in the application continues except the delivery of Socket events.
          <p>
            <i>For the Flash Player debugger version or the AIR Debug Launcher (ADL) only.</i>
          </p>
          
        </p><p><span class="label">See also</span></p><div class="seeAlso"><a href="System.html#resume()" target="">resume()</a></div></div><a name="resume()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">resume</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function resume():<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9.0.115.0</td></tr></table><p></p><p></p><p>
          Resumes the application after calling
          <code>System.pause()</code>
          .
          <p>
            <i>For the Flash Player debugger version or the AIR Debug Launcher (ADL) only.</i>
          </p>
          
        </p><p><span class="label">See also</span></p><div class="seeAlso"><a href="System.html#pause()" target="">pause()</a></div></div><a name="setClipboard()"></a><a name="setClipboard(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">setClipboard</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function setClipboard(string:<a href="../../String.html">String</a>):<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Replaces the contents of the Clipboard with a specified text string. This method works from any security
  context when called as a result of user event (such as a keyboard or mouse event handler).
          <p>
            This method is provided for SWF content running in Flash Player 9. It allows only adding 
  String content to the Clipboard. Flash Player 10 content and content in the application 
  security sandbox in an AIR application can call the
            <code>Clipboard.setData()</code>
            method.
          </p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">string</span>:<a href="../../String.html">String</a></code> &mdash; A plain-text string of characters to put on the system Clipboard, replacing its current contents (if any).</td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="../../flash/desktop/Clipboard.html" target="">flash.desktop.Clipboard</a></div></div><a name="includeExamplesSummary"></a><div class="detailSectionHeader">Examples<span class="usage"><a href="../../ExampleInstruct.html"> How to use examples </a></span></div><div class="exampleHeader">SystemExample.as</div><br/><div class="detailBody">
        The following example shows how to copy information about your system's total memory to the
 system Clipboard using a call to
        <code>System.totalMemory</code>
        within a call to the
        <code>System.setClipboard()</code>
        method.
        <div class="listing"><pre>package {
    import flash.display.Sprite;
    import flash.system.System;

    public class SystemExample extends Sprite {
        public function SystemExample() {
            System.setClipboard("System.totalMemory: " + System.totalMemory);
        }
    }
}</pre></div>
      </div><br/><br/><hr><br/><p></p><center class="copyright"> &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  </center><div style="display:none">System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System System </div><div style="display:none">flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System flash.system.System </div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  -->
