topical media & game development

talk show tell print

lib-flex-animation-code-10-org-as3lib-kitchensync-action-tweentarget-ITweenTarget.ax

lib-flex-animation-code-10-org-as3lib-kitchensync-action-tweentarget-ITweenTarget.ax (swf ) [ flash ] flex


  package org.as3lib.kitchensync.action.tweentarget
  {
          
A bundle that wraps up a property or other value that can be tweened by a KSTween. Generally speaking, a KSTween will handle the timing of the tween while the @ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-tweentarget-ITweenTarget handles the values of the tween.
author: Mims Wright @since 1.5
see: org.as3lib.kitchensync.action.KSTween

  
          public interface @ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-tweentarget-ITweenTarget extends INumericController
          {
                  
The main function that the Tween uses to update the TweenTarget. Sets the percentage complete. @use Typically this is implemented as such: <code> public function updateTween(percentComplete:Number):Number { return currentValue = percentComplete * (endValue - startValue) + startValue; } </code>
parameter: percentComplete a number between 0 and 1 (but sometimes more or less) that represents the percentage of the tween that has been completed. This should update
returns: Number the new current value of the tween.

  
                  function updateTween (percentComplete:Number):Number;
                  
                  
The value that the tweenTarget will begin from.

  
                  function get startValue():Number;
                  function set startValue(startValue:Number):void;
                  
                  
The value that the tweenTarget will end on.

  
                  function get endValue():Number;
                  function set endValue(endValue:Number):void;
                  
                  
Reset the value to it's pre-tweened state. (typically, sets the currentValue equal to the startValue)

  
                  function reset():void;
                  
                  
Create a copy of the tweenTarget object */ function clone():@ax-lib-flex-animation-code-10-org-as3lib-kitchensync-action-tweentarget-ITweenTarget; } }

(C) Æliens 19/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2780434-1"; urchinTracker(); </script>