Lines Matching refs:t

64 var t = Tween.prototype;
66 t.obj = new Object();
67 t.prop='';
68 t.func = function (t, b, c, d) { return c*t/d + b; }; argument
69 t.begin = 0;
70 t.change = 0;
71 t.prevTime = 0;
72 t.prevPos = 0;
73 t.looping = false;
74 t._duration = 0;
75 t._time = 0;
76 t._pos = 0;
77 t._position = 0;
78 t._startTime = 0;
79 t._finish = 0;
80 t.name = '';
81 t.suffixe = '';
82 t._listeners = new Array();
83 t.setTime = function(t){ argument
85 if (t > this.getDuration()) {
87 this.rewind (t - this._duration);
96 } else if (t < 0) {
100 this._time = t;
104 t.getTime = function(){
107 t.setDuration = function(d){
110 t.getDuration = function(){
113 t.setPosition = function(p){
120 t.getPosition = function(t){ argument
121 if (t == undefined) t = this._time;
122 return this.func(t, this.begin, this.change, this._duration);
124 t.setFinish = function(f){
127 t.geFinish = function(){
130 t.init = function(obj, prop, func, begin, finish, duration, suffixe){
145 t.start = function(){
151 t.rewind = function(t){ argument
153 this._time = (t == undefined) ? 0 : t;
157 t.fforward = function(){
162 t.update = function(){
165 t.startEnterFrame = function(){
170 t.onEnterFrame = function(){
176 t.nextFrame = function(){
179 t.stop = function(){
183 t.stopEnterFrame = function(){
187 t.continueTo = function(finish, duration){
194 t.resume = function(){
199 t.yoyo = function (){
203 t.addListener = function(o){
207 t.removeListener = function(o){
218 t.broadcastMessage = function(){
231 t.fixTime = function(){
234 t.getTimer = function(){
237 Tween.backEaseIn = function(t,b,c,d,a,p){ argument
239 return c*(t/=d)*t*((s+1)*t - s) + b;
241 Tween.backEaseOut = function(t,b,c,d,a,p){ argument
243 return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
245 Tween.backEaseInOut = function(t,b,c,d,a,p){ argument
247 if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
248 return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
250 Tween.elasticEaseIn = function(t,b,c,d,a,p){ argument
251 if (t==0) return b;
252 if ((t/=d)==1) return b+c;
260 return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
263 Tween.elasticEaseOut = function (t,b,c,d,a,p){ argument
264 if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
267 return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b);
269 Tween.elasticEaseInOut = function (t,b,c,d,a,p){ argument
270 if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) var p=d*(.3*1.5);
273 if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
274 return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
277 Tween.bounceEaseOut = function(t,b,c,d){ argument
278 if ((t/=d) < (1/2.75)) {
279 return c*(7.5625*t*t) + b;
280 } else if (t < (2/2.75)) {
281 return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
282 } else if (t < (2.5/2.75)) {
283 return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
285 return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
288 Tween.bounceEaseIn = function(t,b,c,d){ argument
289 return c - Tween.bounceEaseOut (d-t, 0, c, d) + b;
291 Tween.bounceEaseInOut = function(t,b,c,d){ argument
292 if (t < d/2) return Tween.bounceEaseIn (t*2, 0, c, d) * .5 + b;
293 else return Tween.bounceEaseOut (t*2-d, 0, c, d) * .5 + c*.5 + b;
296 Tween.strongEaseInOut = function(t,b,c,d){ argument
297 return c*(t/=d)*t*t*t*t + b;
300 Tween.regularEaseIn = function(t,b,c,d){ argument
301 return c*(t/=d)*t + b;
303 Tween.regularEaseOut = function(t,b,c,d){ argument
304 return -c *(t/=d)*(t-2) + b;
307 Tween.regularEaseInOut = function(t,b,c,d){ argument
308 if ((t/=d/2) < 1) return c/2*t*t + b;
309 return -c/2 * ((--t)*(t-2) - 1) + b;
311 Tween.strongEaseIn = function(t,b,c,d){ argument
312 return c*(t/=d)*t*t*t*t + b;
314 Tween.strongEaseOut = function(t,b,c,d){ argument
315 return c*((t=t/d-1)*t*t*t*t + 1) + b;
318 Tween.strongEaseInOut = function(t,b,c,d){
319 if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
320 return c/2*((t-=2)*t*t*t*t + 2) + b;