home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Templates / Flash / flashmo_122_3d_curve_gallery / caurina / transitions / SpecialPropertySplitter.as < prev    next >
Text File  |  2007-08-26  |  980b  |  42 lines

  1. package caurina.transitions {
  2.  
  3.     /**
  4.      * SpecialPropertySplitter
  5.      * A proxy setter for special properties
  6.      *
  7.      * @author        Zeh Fernando
  8.      * @version        1.0.0
  9.      * @private
  10.      */
  11.  
  12.     public class SpecialPropertySplitter {
  13.  
  14.         public var parameters:Array;
  15.         public var splitValues:Function;
  16.  
  17.         /**
  18.          * Builds a new group special property object.
  19.          *
  20.          * @param        p_splitFunction        Function    Reference to the function used to split a value
  21.          */
  22.         public function SpecialPropertySplitter (p_splitFunction:Function, p_parameters:Array) {
  23.             splitValues = p_splitFunction;
  24.         }
  25.  
  26.         /**
  27.          * Converts the instance to a string that can be used when trace()ing the object
  28.          */
  29.         public function toString():String {
  30.             var value:String = "";
  31.             value += "[SpecialPropertySplitter ";
  32.             value += "splitValues:"+String(splitValues); // .toString();
  33.             value += ", ";
  34.             value += "parameters:"+String(parameters);
  35.             value += "]";
  36.             return value;
  37.         }
  38.  
  39.     }
  40.  
  41. }
  42.