﻿<?xml version="1.0" encoding="utf-8"?>

<toolbox>
	<actionspanel>
		<folder name="Global Functions" id="Actions" sort="false" tiptext="Functions that can be added to your script">
			<folder name="Timeline Control" id="Movie Control" tiptext="Functions that control movie playback">
				<ifmode mode="SCRIPT_ASSIST_ON">
					<action id="goto" name="goto" tiptext="Go to the specified frame of the movie" quickey="go"/>
				</ifmode>
				<ifmode mode="SCRIPT_ASSIST_OFF">
					<action name="gotoAndPlay" tiptext="Go to the specified frame and play" helpid="x21C15" text="gotoAndPlay(% frame %);\n" text2="gotoAndPlay(% scene, frame %);\n" quickey="gp"/>
					<action name="gotoAndStop" tiptext="Go to the specified frame and stop" helpid="x21C16" text="gotoAndStop(% frame %);\n" text2="gotoAndStop(% scene, frame %);\n" quickey="gs"/>
					<action name="nextFrame" tiptext="Go to the next frame" helpid="x21C17" text="nextFrame();\n" quickey="nf"/>
					<action name="prevFrame" tiptext="Go to the previous frame" helpid="x21C18" text="prevFrame();\n" quickey="pf"/>
					<action name="nextScene" tiptext="Go to the next scene" helpid="x21C19" text="nextScene();\n" quickey="ns"/>
					<action name="prevScene" tiptext="Go to the previous scene" helpid="x21C1A" text="prevScene();\n" quickey="ps"/>
				</ifmode>
				<action id="play" name="play" tiptext="Start playing the movie" helpid="x21C1B" text="play();\n" quickey="pl"/>
				<action id="stop" name="stop" tiptext="Stop playing the movie" helpid="x21C1C" text="stop();\n" quickey="st"/>
				<action id="stopAllSounds" name="stopAllSounds" tiptext="Stop playing all sounds" helpid="x21C1D" text="stopAllSounds();\n" quickey="ss"/>
				<action id="ifFrameLoaded" name="ifFrameLoaded" tiptext="Performs actions only if a particular frame is loaded" helpid="x21C3A" quickey="il" version="3"/>
			</folder>
			<folder name="Browser/Network" id="Browser_Network" tiptext="Functions that control the Web browser and network">
				<action id="getURL" name="getURL" tiptext="Tell Web browser to navigate to specified URL" helpid="x21C1E" text="getURL(% url, window, method %);\n" quickey="gu"/>
				<ifmode mode="SCRIPT_ASSIST_ON">
					<action id="unloadMovie" name="unloadMovie" tiptext="Unload a movie clip loaded with loadMovie" helpid="x21C20" text="unloadMovie(% target %);\n" quickey="um" version="3"/>
				</ifmode>
				<ifmode mode="SCRIPT_ASSIST_OFF">
					<action name="unloadMovie" tiptext="Unload a movie clip loaded with loadMovie" helpid="x21C26" text="unloadMovie(% target %);\n" quickey="um" version="3"/>
					<action name="unloadMovieNum" tiptext="Unload a movie clip loaded with loadMovieNum" helpid="x21C27" text="unloadMovieNum(% level %);\n" quickey="un" version="3"/>
				</ifmode>
			</folder>
			<folder name="Movie Clip Control" id="Movie Clip Control" tiptext="Functions that control Movie Clips">
				<action id="on" name="on" tiptext="Performs actions when a particular mouse event occurs" helpid="x21C28" text="on (% event %) {\n}\n" codehint="false" quickey="on" version="3"/>
				<action id="setProperty" name="setProperty" tiptext="Set a property of a movie clip" helpid="x21C29" text="setProperty(% target, property, value %);\n" quickey="sp" version="4"/>
				<action id="duplicateMovieClip" name="duplicateMovieClip" tiptext="Make a duplicate of a movie clip" helpid="x21C2A" text="duplicateMovieClip(% target, newname, depth %);\n" quickey="dm" version="4"/>
				<action id="removeMovieClip" name="removeMovieClip" tiptext="Removes a movie clip created with duplicateMovieClip" helpid="x21C2B" text="removeMovieClip(% target %);\n" quickey="rm" version="4"/>
				<action name="getProperty" tiptext="Returns a property of the specified movie clip" helpid="x21C2C" text="getProperty(% target, property %)" version="4"/>
				<string name="set" tiptext="Assigns a value to a variable" helpid="x21C2D" text="set" version="4"/>
			</folder>
			<folder name="Conversion Functions" id="Conversion Functions" tiptext="Functions that perform type conversions" version="4">
				<string name="chr" tiptext="Convert an ASCII code to a character" helpid="x21C46" text="chr(% asciiCode %)" version="4"/>
				<string name="int" tiptext="Extract the integer part of a number" helpid="x21C4C" text="int(% number %)" version="4"/>
				<string name="mbchr" tiptext="Convert an ASCII/S-JIS code to a character (multibyte aware)" helpid="x21C4A" text="mbchr(% asciiCode %)" version="4"/>
				<string name="mbord" tiptext="Convert a character to an ASCII/S-JIS code (multibyte aware)" helpid="x21C4B" text="mbord(% character %)" version="4"/>
				<string name="ord" tiptext="Convert a character to an ASCII code" helpid="x21C47" text="ord(% character %)" version="4"/>
				<string name="Number" tiptext="Converts argument to type number" helpid="x21C2F" text="Number(% expression %)" version="4"/>
				<string name="String" tiptext="Converts argument to type string" helpid="x21C2E" text="String(% expression %)" version="4"/>
			</folder>
			<folder name="Miscellaneous Functions" id="Miscellaneous Functions" tiptext="Miscellaneous functions">
				<string name="eval" tiptext="Returns value of variable named by the expresssion" helpid="x21C30" text="eval(% variable %)" version="4"/>
				<string name="getTimer" tiptext="The number of milliseconds since the movie started playing" helpid="x21C31" text="getTimer()" version="4"/>
				<string name="length" tiptext="Calculate the length of the string" helpid="x21C45" text="length(% string %)" version="4"/>
				<string name="mblength" tiptext="Calculate the length of the string (multibyte aware)" helpid="x21C49" text="mblength(% string %)" version="4"/>
				<string name="mbsubstring" tiptext="Extract count characters from string, starting at index'th character (multibyte aware)" helpid="x21C48" text="mbsubstring(% string, index, count %)" version="4"/>
				<string name="random" tiptext="Generate a random number between 0 and specified number" helpid="x21C4D" text="random(% number %)" version="4"/>
				<string name="substring" tiptext="Extract count characters from string, starting at index'th character" helpid="x21C44" text="substring(% string, index, count %)" version="4"/>
				<action id="trace" name="trace" tiptext="Sends a message to the Output window" helpid="x21C32" text="trace(% message %);\n" quickey="tr" version="4"/>
				<ifmode mode="SCRIPT_ASSIST_ON">
					<action id="comment" name="comment" tiptext="Insert a comment to help document your script" helpid="x21C33" text="// %%\n" quickey="//"/>
				</ifmode>
			</folder>
		</folder>
		<folder name="Properties" tiptext="ActionScript properties">
			<string name="_alpha" tiptext="Alpha transparency (percentage)" helpid="x21CA1" text="._alpha" version="4"/>
			<string name="_currentframe" tiptext="Returns the frame number where the playhead is currently located" helpid="x21CA2" text="._currentframe" version="4"/>
			<string name="_focusrect" tiptext="Returns false if tab focus rectangles are hidden, true if displayed" helpid="x21CA3" text="._focusrect" version="4"/>
			<string name="_framesloaded" tiptext="Returns the number of frames loaded from a streaming movie" helpid="x21CA4" text="._framesloaded" version="4"/>
			<string name="_height" tiptext="Height" helpid="x21CA5" text="._height" version="4"/>
			<string name="_highquality" tiptext="Returns false if low quality, true if high quality" helpid="x21CA6" text="._highquality" version="4"/>
			<string name="_level" tiptext="Returns the numbered level" helpid="x21CA7" text="._level" version="4"/>
			<string name="_name" tiptext="Instance name" helpid="x21CA9" text="._name" version="4"/>
			<string name="_rotation" tiptext="Angle of rotation (degrees)" helpid="x21CAA" text="._rotation" version="4"/>
			<string name="_target" tiptext="Target path" helpid="x21CAC" text="._target" version="4"/>
			<string name="_totalframes" tiptext="Returns the total number of frames in the movie" helpid="x21CAD" text="._totalframes" version="4"/>
			<string name="_visible" tiptext="Returns true if the button is visible, false if hidden" helpid="x21CAE" text="._visible" version="4"/>
			<string name="_width" tiptext="Width" helpid="x21CAF" text="._width" version="4"/>
			<string name="_x" tiptext="X Position" helpid="x21CB0" text="._x" version="4"/>
			<string name="_xscale" tiptext="X Scale Factor (percentage)" helpid="x21CB1" text="._xscale" version="4"/>
			<string name="_y" tiptext="Y Position" helpid="x21CB2" text="._y" version="4"/>
			<string name="_yscale" tiptext="Y Scale Factor (percentage)" helpid="x21CB3" text="._yscale" version="4"/>
		</folder>
		<folder name="Statements" tiptext="ActionScript statement keywords">
			<action id="call" name="call" tiptext="Call a subroutine in a specified frame" helpid="x21C36" text="call (% frame %);\n" quickey="ca" version="4"/>
			<action id="toggleHighQuality" name="toggleHighQuality" tiptext="Toggles between low and high quality" helpid="x21C38" quickey="tq"/>
			<action id="tellTarget" name="tellTarget" tiptext="Within tellTarget, actions operate on targeted movie clip" helpid="x21C39" quickey="tt" version="3"/>
			<folder name="Conditions/Loops" id="Conditions_Loops" tiptext="Conditional statements and loop constructs">
				<action id="if" name="if" tiptext="Performs actions if a condition is true" helpid="x21C3B" text="if (% condition %) {\n}\n" quickey="if" version="4"/>
				<action id="else" name="else" tiptext="Inside if, perform actions if condition is false" helpid="x21C3C" text="} else {\n" quickey="el" version="4"/>
				<action id="else if" name="else if" tiptext="Inside if, perform actions if alternate condition is true" helpid="x21C3D" text="} else if (% condition %) {\n" quickey="ei" version="4"/>
				<action id="while" name="while" tiptext="Perform actions while the condition is true." helpid="x21C3E" text="while (% condition %) {\n}\n" quickey="wh" version="4"/>
				<action id="break" name="break" tiptext="Break out of the enclosing loop" helpid="x21C3F" text="break;\n" quickey="br" version="4"/>
				<action id="continue" name="continue" tiptext="Continue at the start of the enclosing loop" helpid="x21C40" text="continue;\n" quickey="co" version="4"/>
				<action id="do while" name="do while" tiptext="Do While Loop" helpid="x21C41" text="do {\n} while (% condition %);\n" quickey="do" version="4"/>
				<action id="for" name="for" tiptext="For Loop" helpid="x21CB8" text="for (% init; condition; next %) {\n}\n" quickey="fr" version="4"/>
				<ifdef mode="FEATURE_SWITCH_AND_STRICT_EQUALITY">
					<action id="switch" name="switch" tiptext="Performs a block of code based on a condition" helpid="x21C42" text="switch (% condition %) {\n}\n" quickey="sw" version="4"/>
					<action id="case" name="case" tiptext="Identifies a block of code inside a 'switch' statement" helpid="x21C43" text="case condition :\n" quickey="ce" version="4"/>
				</ifdef>
			</folder>
		</folder>
		<folder name="Operators" id="Operators" tiptext="Operators to use in expressions" version="4">
			<!--Bitwise operators are a subcategory of Operators-->
			<!--Assignment operators are a subcategory of Operators-->
			<string name="&quot;&quot;" tiptext="Put double quotes around string literals in an expression" helpid="x21C4E" text="&quot;%%&quot;" version="4"/>
			<string name="()" tiptext="Use parentheses to group expressions, i.e. (x+y)*z" helpid="x21CB5" text="(%%)" version="4"/>
			<folder name="Arithmetic Operators" id="Arithmetic Operators" tiptext="Operators that perform arithmetic operations" version="4">
				<string name="+" tiptext="Add numbers" helpid="x21C50" text="+" version="4"/>
				<string name="++" tiptext="Increments a variable. Example: x++, ++y" helpid="x21C68" text="++" version="4"/>
				<string name="-" tiptext="Subtract numbers" helpid="x21C51" text="-" version="4"/>
				<string name="--" tiptext="Decrements a variable. Example: x--, --y" helpid="x21C69" text="--" version="4"/>
				<string name="*" tiptext="Multiply numbers" helpid="x21C52" text="*" version="4"/>
				<string name="/" tiptext="Divides first number by the second number" helpid="x21C53" text="/" version="4"/>
				<string name="%" tiptext="Calculate the remainder of x divided by y" helpid="x21C54" text="%" version="4"/>
			</folder>
			<folder name="Comparison Operators" id="Comparison Operators" tiptext="Operators that perform comparisons" version="4">
				<string name="==" tiptext="Test equality" helpid="x21CBB" text="==" version="4"/>
				<string name="&lt;&gt;" tiptext="Test inequality" helpid="x21CBC" text="&lt;&gt;" version="4"/>
				<string name="&lt;" tiptext="Less than" helpid="x21C55" text="&lt;" version="4"/>
				<string name="&gt;" tiptext="Greater than" helpid="x21C56" text="&gt;" version="4"/>
				<string name="&lt;=" tiptext="Less than or equal to" helpid="x21C57" text="&lt;=" version="4"/>
				<string name="&gt;=" tiptext="Greater than or equal to" helpid="x21C58" text="&gt;=" version="4"/>
				<string name="ge" tiptext="Greater than or equal to (strings)" helpid="x21CB4" text="ge" version="4"/>
				<string name="gt" tiptext="Greater than (strings)" helpid="x21C59" text="gt" version="4"/>
				<string name="eq" tiptext="Test equality (strings)" helpid="x21C5A" text="eq" version="4"/>
				<string name="le" tiptext="Less than or equal to (strings)" helpid="x21C5B" text="le" version="4"/>
				<string name="ne" tiptext="Test inequality (strings)" helpid="x21C5C" text="ne" version="4"/>
				<string name="lt" tiptext="Less than (strings)" helpid="x21C5D" text="lt" version="4"/>
			</folder>
			<folder name="Logical Operators" id="Logical Operators" tiptext="Operators that perform logical operations" version="4">
				<string name="&amp;&amp;" tiptext="Short-circuit logical AND operator" helpid="x21C5E" text="&amp;&amp;" version="4"/>
				<string name="||" tiptext="Short-circuit logical OR operator" helpid="x21C5F" text="||" version="4"/>
				<string name="!" tiptext="Logical NOT operator" helpid="x21C60" text="!" version="4"/>
				<string name="and" tiptext="Logical AND" helpid="x21C35" text="and" version="4"/>
			</folder>
			<folder name="Assignment" id="Assignment" tiptext="Operators that perform variable assignments" version="4">
				<string name="=" tiptext="Store the value of B in A" helpid="x21C61" text="=" version="4"/>
				<string name="+=" tiptext="Store the sum A + B in A" helpid="x21C62" text="+=" version="4"/>
				<string name="-=" tiptext="Store the value A - B in A" helpid="x21C63" text="-=" version="4"/>
				<string name="*=" tiptext="Stores the value A * B in A" helpid="x21C64" text="*=" version="4"/>
				<string name="/=" tiptext="Stores the quotient A / B in A" helpid="x21C65" text="/=" version="4"/>
				<string name="%=" tiptext="Stores the remainder A % B in A" helpid="x21C66" text="%=" version="4"/>
			</folder>
			<folder name="Miscellaneous Operators" id="Miscellaneous Operators" tiptext="Miscellaneous Operators" version="4">
				<string name="add" tiptext="Concatenates strings together" helpid="x21C34" text="add" version="4"/>
				<string name="?:" tiptext="Conditional operator. Example: a ? b : c" helpid="x21C67" text="condition ? trueExpression : falseExpression" version="4"/>
			</folder>
		</folder>
	</actionspanel>
</toolbox>