﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<!-- 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"><title>Top Level Constants and Functions Summary (ActionScript 3.0)</title></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 = 'Top Level - 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?package-detail.html&amp;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">Top Level</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="package.html#methodSummary">Functions</a>&nbsp;| <a href="package.html#constantSummary">Constants</a>&nbsp;| <a href="package-detail.html#classSummary">Classes</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("Top Level"); titleBar_setSubNav(false,false,false	,false,false,false,false,false,true	,false,true,false,true,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><br><p>The top level contains the core ActionScript classes and global functions.</p><br><hr><a name="methodSummary"></a><div class="summaryTableTitle">Global Functions</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th>&nbsp;</th><th width="30%">Function</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#Array()">Array</a></td><td class="summaryTableLastCol">Creates a new array.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#Boolean()">Boolean</a></td><td class="summaryTableLastCol">Converts the expression parameter to a Boolean value and returns the value.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#decodeURI()">decodeURI</a></td><td class="summaryTableLastCol">Decodes an encoded URI into a string.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#decodeURIComponent()">decodeURIComponent</a></td><td class="summaryTableLastCol">Decodes an encoded URI component into a string.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#encodeURI()">encodeURI</a></td><td class="summaryTableLastCol">Encodes a string into a valid URI (Uniform Resource Identifier).</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#encodeURIComponent()">encodeURIComponent</a></td><td class="summaryTableLastCol">Encodes a string into a valid URI component.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#escape()">escape</a></td><td class="summaryTableLastCol">Converts the parameter to a string and encodes it in a URL-encoded format, 
  where most nonalphanumeric characters are replaced with % hexadecimal sequences.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#int()">int</a></td><td class="summaryTableLastCol">Converts a given numeric value to an integer value.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#isFinite()">isFinite</a></td><td class="summaryTableLastCol">Returns true if the value is a finite number, 
  or false if the value is Infinity or -Infinity.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#isNaN()">isNaN</a></td><td class="summaryTableLastCol">Returns true if the value is NaN(not a number).</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#isXMLName()">isXMLName</a></td><td class="summaryTableLastCol">Determines whether the specified string is a valid name for an XML element or attribute.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#Number()">Number</a></td><td class="summaryTableLastCol">Converts a given value to a Number value.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#Object()">Object</a></td><td class="summaryTableLastCol">Every value in ActionScript 3.0 is an object, which means that calling Object() on a value returns that value.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#parseFloat()">parseFloat</a></td><td class="summaryTableLastCol">Converts a string to a floating-point number.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#parseInt()">parseInt</a></td><td class="summaryTableLastCol">Converts a string to an integer.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#String()">String</a></td><td class="summaryTableLastCol">Returns a string representation of the specified parameter.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#trace()">trace</a></td><td class="summaryTableLastCol">Displays expressions, or writes to log files, while debugging.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#uint()">uint</a></td><td class="summaryTableLastCol">Converts a given numeric value to an unsigned integer value.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#unescape()">unescape</a></td><td class="summaryTableLastCol">Evaluates the parameter str as a string, decodes the string from URL-encoded format 
  (converting all hexadecimal sequences to ASCII characters), and returns the string.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#Vector()">Vector</a></td><td class="summaryTableLastCol">Creates a new Vector instance whose elements are instances of the specified data type.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#XML()">XML</a></td><td class="summaryTableLastCol">Converts an object to an XML object.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#XMLList()">XMLList</a></td><td class="summaryTableLastCol">Converts an object to an XMLList object.</td></tr></table><a name="constantSummary"></a><div class="summaryTableTitle">Global Constants</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th>&nbsp;</th><th width="30%">Constant</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#Infinity">Infinity</a></td><td class="summaryTableLastCol">A special value representing positive Infinity.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#-Infinity">-Infinity</a></td><td class="summaryTableLastCol">A special value representing negative Infinity.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#NaN">NaN</a></td><td class="summaryTableLastCol">A special member of the Number data type that represents a value that is "not a number" (NaN).</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="package.html#undefined">undefined</a></td><td class="summaryTableLastCol">A special value that applies to untyped variables that have not been initialized or dynamic object properties that are not initialized.</td></tr></table><a name="classSummary"></a><div class="summaryTableTitle">Classes</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th>&nbsp;</th><th width="30%">Class</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="ArgumentError.html">ArgumentError</a></td><td class="summaryTableLastCol">The ArgumentError class represents an error that occurs when the arguments 
 supplied in a function do not match the arguments defined for 
 that function.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="arguments.html">arguments</a></td><td class="summaryTableLastCol">An arguments object is used to store and access a function's arguments.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Array.html">Array</a></td><td class="summaryTableLastCol">The Array class lets you access and manipulate arrays.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Boolean.html">Boolean</a></td><td class="summaryTableLastCol">A Boolean object is a data type that can have one of two values, either true or false,  
used for logical operations.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Class.html">Class</a></td><td class="summaryTableLastCol">A Class object is created for each class definition in a program.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Date.html">Date</a></td><td class="summaryTableLastCol">The Date class represents date and time information.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DefinitionError.html">DefinitionError</a></td><td class="summaryTableLastCol">The DefinitionError class represents an error that occurs when user code
 attempts to define an identifier that is already defined.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Error.html">Error</a></td><td class="summaryTableLastCol">The Error class contains information about an error that occurred in a script.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="EvalError.html">EvalError</a></td><td class="summaryTableLastCol">The EvalError class represents an error that occurs when user code
 calls the eval() function or attempts to use the new
 operator with the Function object.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Function.html">Function</a></td><td class="summaryTableLastCol">A function is the basic unit of code that can be invoked in ActionScript.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="int.html">int</a></td><td class="summaryTableLastCol">The int class lets you work with the data type representing a 32-bit signed integer.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Math.html">Math</a></td><td class="summaryTableLastCol">The Math class contains methods and constants that represent common mathematical
 functions and values.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Namespace.html">Namespace</a></td><td class="summaryTableLastCol">The Namespace class contains methods and properties for defining and working with namespaces.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Number.html">Number</a></td><td class="summaryTableLastCol">A data type representing an IEEE-754 double-precision floating-point number.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Object.html">Object</a></td><td class="summaryTableLastCol">The Object class is at the root of the ActionScript
 runtime class hierarchy.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="QName.html">QName</a></td><td class="summaryTableLastCol">QName objects represent qualified names of XML elements and attributes.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="RangeError.html">RangeError</a></td><td class="summaryTableLastCol">A RangeError exception is thrown when a numeric value is outside the acceptable range.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="ReferenceError.html">ReferenceError</a></td><td class="summaryTableLastCol">A ReferenceError exception is thrown when a reference to an undefined property is 
 attempted on a sealed (nondynamic) object.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="RegExp.html">RegExp</a></td><td class="summaryTableLastCol">The RegExp class lets you work with regular expressions, which are patterns that you can use 
     to perform searches in strings and to replace text in strings.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="SecurityError.html">SecurityError</a></td><td class="summaryTableLastCol">The SecurityError exception is thrown when some type of security violation 
 takes place.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="String.html">String</a></td><td class="summaryTableLastCol">The String class is a data type that represents a string of characters.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="SyntaxError.html">SyntaxError</a></td><td class="summaryTableLastCol">A SyntaxError exception is thrown when a parsing error occurs, for one of the following reasons:.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="TypeError.html">TypeError</a></td><td class="summaryTableLastCol">A TypeError exception is thrown when the actual type of an operand is different
 from the expected type.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="uint.html">uint</a></td><td class="summaryTableLastCol">The uint class provides methods for working with a data type representing a 32-bit unsigned integer.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="URIError.html">URIError</a></td><td class="summaryTableLastCol">A URIError exception is thrown when one of the global URI handling functions is used 
 in a way that is incompatible with its definition.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Vector.html">Vector</a></td><td class="summaryTableLastCol">The Vector class lets you access and manipulate a vector &mdash; an array whose elements
 all have the same data type.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="VerifyError.html">VerifyError</a></td><td class="summaryTableLastCol">The VerifyError class represents an error that occurs when a malformed 
 or corrupted SWF file is encountered.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="XML.html">XML</a></td><td class="summaryTableLastCol">The XML class contains methods and properties for working with XML objects.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="XMLList.html">XMLList</a></td><td class="summaryTableLastCol">The XMLList class contains methods for working with one or more XML elements.</td></tr></table><p></p><div><p></p><center class="copyright"> &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:12 PM -07:00  </center></div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:12 PM -07:00  -->
