package classes.caurina.transitions {

	/**
	 * SpecialPropertySplitter
	 * A proxy setter for special properties
	 *
	 * @author		Zeh Fernando
	 * @version		1.0.0
	 * @private
	 */

	public class SpecialPropertySplitter {

		public var parameters:Array;
		public var splitValues:Function;

		/**
		 * Builds a new group special property object.
		 *
		 * @param		p_splitFunction		Function	Reference to the function used to split a value
		 */
		public function SpecialPropertySplitter (p_splitFunction:Function, p_parameters:Array) {
			splitValues = p_splitFunction;
			parameters = p_parameters;
		}

		/**
		 * Converts the instance to a string that can be used when trace()ing the object
		 */
		public function toString():String {
			var value:String = "";
			value += "[SpecialPropertySplitter ";
			value += "splitValues:"+String(splitValues); // .toString();
			value += ", ";
			value += "parameters:"+String(parameters);
			value += "]";
			return value;
		}

	}

}
