- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
internal override function createTweens($target:Object, $property:String, $duration:Number):Array {
var pa:Array = getOrderedLabels();
var ta:Array = [];
//skip begin point (i=1), it gets set and doesn't need to be tweened to initial value
for (var i:int = 1; i < pa.length; i++) {
//if null, sets it to starting value
var np:Object = this[pa[i]];
var nv:*;
if(np.value == 'none' && np.extras.type == 'tint'){
np.extras.type = 'clear';
} else {
var nuv:*;
if(np.value == null){
if($property == null){
var tc:* = $target.transform.colorTransform.color;
if(tc == 0){
nuv = null;
np.extras.type = 'clear';
} else {
nuv = tc;
}
} else {
nuv = $target[$property];
}
} else nuv = np.value;
nv = (np.spread != '0') ? RandomColor.fromRange(nuv, np.spread) : nuv;
}
var tmo:Object = {target:$target, property:$property, value:nv, ease:np.ease, duration:calculateDuration($duration, this[pa[i-1]].position, np.position), delay:0};
for (var h:String in np.extras) {
tmo[h] = np.extras[h];
}
ta.push(tmo);
}
return ta;
}
Ищу совсем бесплатный и опенсорсный твиннер. Нигодую.
Lure Of Chaos 13.05.2013 18:43 # 0
kyzi007 13.05.2013 18:57 # 0
Lure Of Chaos 13.05.2013 18:58 # +1
zasedanie 13.05.2013 20:17 # +7
Xtasy 13.05.2013 20:44 # 0
Lure Of Chaos 14.05.2013 01:23 # 0
Xtasy 14.05.2013 12:07 # +2
Lure Of Chaos 14.05.2013 12:21 # 0
Vasiliy 14.05.2013 16:34 # 0
inkanus-gray 14.05.2013 23:05 # 0
Lure Of Chaos 15.05.2013 09:04 # +1
Location: govnokod.ru
anonimb84a2f6fd141 27.06.2013 23:32 # −3