﻿<!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>fl.motion 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 = 'fl.motion package - 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?fl/motion/package-detail.html&amp;fl/motion/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">fl.motion</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="package-detail.html#interfaceSummary"> Interfaces </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("fl.motion"); titleBar_setSubNav(false,false,false	,false,false,false,false,false,false	,false,false,true,true,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><br><p>The fl.motion package contains functions and classes to describe a motion tween (either 2D or 3D via the Animator3D class) and apply that tween to a display object. You can either reference XML or use ActionScript with arrays to describe a motion tween.  Flash CS4 has Copy Motion as ActionScript 3.0 and Copy Motion as XML commands that generate ActionScript and XML based on a motion tween on the Timeline in the authoring tool. You can use the generated ActionScript to apply the animation to other display objects. You can also script your own XML and use the fl.motion classes to apply the animation to a specified display object instance. Though XML is quite efficient, it is not necessary to use it to describe motion tweens; you can instead supply arrays of property values with ActionScript commands to obtain the same effect. <p>For information on the supporting XML elements, see <a href="../../motionXSD.html">Motion XML Elements</a>.</p><p>To learn more about scripting your own animation or editing content from the Flash CS4 Copy Motion commands, begin with the Animator and Animator3D classes which contain the primary functions and properties for applying the Motion XML or ActionScript arrays to a motion tween.</p></p><br><hr><a name="interfaceSummary"></a><div class="summaryTableTitle">Interfaces</div><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th>&nbsp;</th><th width="30%">Interface</th><th width="70%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><i><a href="ITween.html">ITween</a></i></td><td class="summaryTableLastCol">The ITween interface defines the application programming interface (API) that interpolation
 classes implement in order to work with the fl.motion classes.</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="AdjustColor.html">AdjustColor</a></td><td class="summaryTableLastCol">The AdjustColor class defines various color properties, such as brightness, contrast, hue, and saturation, to support the ColorMatrixFilter class.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Animator.html">Animator</a></td><td class="summaryTableLastCol">The Animator class applies an XML description of a motion tween to a display object.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Animator3D.html">Animator3D</a></td><td class="summaryTableLastCol">The Animator3D class applies an XML description of a three-dimensional motion tween to a display object.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="AnimatorBase.html">AnimatorBase</a></td><td class="summaryTableLastCol">The AnimatorBase class applies an XML description of a motion tween to a display object.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="AnimatorFactory.html">AnimatorFactory</a></td><td class="summaryTableLastCol">The AnimatorFactory class provides ActionScript-based support to associate one Motion object with multiple
     display objects.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="AnimatorFactory3D.html">AnimatorFactory3D</a></td><td class="summaryTableLastCol">The AnimatorFactory3D class provides ActionScript-based support to associate one Motion object containing
  three-dimensional properties with multiple
     display objects.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="AnimatorFactoryBase.html">AnimatorFactoryBase</a></td><td class="summaryTableLastCol">The AnimatorFactoryBase class provides ActionScript-based support to display and tween multiple targeted objects with one Motion dynamically at runtime.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="BezierEase.html">BezierEase</a></td><td class="summaryTableLastCol">The BezierEase class provides precise easing control for a motion tween between two keyframes.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="BezierSegment.html">BezierSegment</a></td><td class="summaryTableLastCol">A Bezier segment consists of four Point objects that define a single cubic Bezier curve.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Color.html">Color</a></td><td class="summaryTableLastCol">The Color class extends the Flash Player ColorTransform class,
 adding the ability to control brightness and tint.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="ColorMatrix.html">ColorMatrix</a></td><td class="summaryTableLastCol">The ColorMatrix class calculates and stores color matrixes based on given values.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="CustomEase.html">CustomEase</a></td><td class="summaryTableLastCol">The CustomEase class is used to modify specific properties of the easing behavior of a motion tween as
 the tween progresses over time.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DynamicMatrix.html">DynamicMatrix</a></td><td class="summaryTableLastCol">The DynamicMatrix class calculates and stores a matrix based on given values.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="FunctionEase.html">FunctionEase</a></td><td class="summaryTableLastCol">The FunctionEase class allows custom interpolation functions to be used with
 the fl.motion framework in place of other interpolations like SimpleEase and CustomEase.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Keyframe.html">Keyframe</a></td><td class="summaryTableLastCol">The Keyframe class defines the visual state at a specific time in a motion tween.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="KeyframeBase.html">KeyframeBase</a></td><td class="summaryTableLastCol">The KeyframeBase class defines the visual state at a specific time in a motion tween.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="MatrixTransformer.html">MatrixTransformer</a></td><td class="summaryTableLastCol">The MatrixTransformer class contains methods for modifying individual properties of a transformation matrix:
 horizontal and vertical scale, horizontal and vertical skew, and rotation.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Motion.html">Motion</a></td><td class="summaryTableLastCol">The Motion class stores a keyframe animation sequence that can be applied to a visual object.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="MotionBase.html">MotionBase</a></td><td class="summaryTableLastCol">The MotionBase class stores a keyframe animation sequence that can be applied to a visual object.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="MotionEvent.html">MotionEvent</a></td><td class="summaryTableLastCol">The MotionEvent class represents events that are broadcast by the fl.motion.Animator class.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="RotateDirection.html">RotateDirection</a></td><td class="summaryTableLastCol">The RotateDirection class provides constant values for rotation behavior during a tween.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="SimpleEase.html">SimpleEase</a></td><td class="summaryTableLastCol">The SimpleEase class allows you to control an animation with 
 the kind of percentage easing that is used in the Flash timeline.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Source.html">Source</a></td><td class="summaryTableLastCol">The Source class stores information about the context in which a Motion instance was generated.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="Tweenables.html">Tweenables</a></td><td class="summaryTableLastCol">The Tweenables class provides constant values for the names of animation properties used in the MotionBase and KeyframeBase classes.</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  -->
