source: code/Website/open-flash-chart/caurina/transitions/SpecialPropertyModifier.as

Last change on this file was 7849, checked in by dennisw, 15 years ago
File size: 1016 bytes
Line 
1package 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}
Note: See TracBrowser for help on using the repository browser.