home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Templates / Flash / flashmo_122_3d_curve_gallery / caurina / transitions / SpecialPropertyModifier.as < prev    next >
Text File  |  2007-04-28  |  1KB  |  43 lines

  1. package caurina.transitions {
  2.  
  3.     /**
  4.      * SpecialPropertyModifier
  5.      * A special property which actually acts on other properties
  6.      *
  7.      * @author        Zeh Fernando
  8.      * @version        1.0.0
  9.      * @private
  10.      */
  11.  
  12.     public class SpecialPropertyModifier {
  13.  
  14.         public var modifyValues:Function;
  15.         public var getValue:Function;
  16.  
  17.         /**
  18.          * Builds a new special property modifier object.
  19.          * 
  20.          * @param        p_modifyFunction        Function        Function that returns the modifider parameters.
  21.          */
  22.         public function SpecialPropertyModifier (p_modifyFunction:Function, p_getFunction:Function) {
  23.             modifyValues = p_modifyFunction;
  24.             getValue = p_getFunction;
  25.         }
  26.  
  27.     /**
  28.      * Converts the instance to a string that can be used when trace()ing the object
  29.      */
  30.     public function toString():String {
  31.         var value:String = "";
  32.         value += "[SpecialPropertyModifier ";
  33.         value += "modifyValues:"+String(modifyValues);
  34.         value += ", ";
  35.         value += "getValue:"+String(getValue);
  36.         value += "]";
  37.         return value;
  38.     }
  39.  
  40.     }
  41.  
  42. }
  43.