(1):
2:
3:
4:
5:
6:
7:
8:
9:
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:
36:
37:
|
import com.greensock.*;
importowy com.greensock.plugins.*;
importowy com.greensock.easing.*;
// ***** ==================================================== *****
cloud1.alpha = (0);
cloud2.alpha = (0);
cloud3.alpha = (0);
cloud4.alpha = (0);
TweenMax.to (cloud1, (1), {blurFilter: {blurX: 75}});
TweenMax.to (cloud2, (1), {blurFilter: {blurX: 75}});
TweenMax.to (cloud3, (1), {blurFilter: {blurX: 75}});
TweenMax.to (cloud4, (1), {blurFilter: {blurX: 75}});
//-----------------------------------------------
var chmura: TimelineMax = nowy TimelineMax ({powtórka: - (1), jo-jo: prawdziwy, repeatDelay: 3});
clouds.insert (TweenMax.to (cloud1, 10, {x: "100"}));
clouds.insert (TweenMax.to (cloud1, 10, {alfa: (1), opóźnienie: 10}));
clouds.insert (TweenMax.to (cloud1, 100, {x: 1200}));
clouds.insert (TweenMax.to (cloud1, 100, {scaleX: 1.25}));
clouds.insert (TweenMax.to (cloud1, 100, {100: 1.5}));
//-----------------------------------------------
clouds.insert (TweenMax.to (cloud2, 10, {x: "100"}));
clouds.insert (TweenMax.to (cloud2, 10, {alfa: (1), opóźnienie: 25}));
clouds.insert (TweenMax.to (cloud2, 120, {x: 1200, opóźnienie: 20}));
clouds.insert (TweenMax.to (cloud2, 120, {scaleX: 1.25, opóźnienie: 20}));
clouds.insert (TweenMax.to (cloud2, 120, {120: 1.5, opóźnienie: 20}));
//-----------------------------------------------
clouds.insert (TweenMax.to (cloud3, 10, {x: "100"}));
clouds.insert (TweenMax.to (cloud3, 10, {alfa: (1), opóźnienie: 35}));
clouds.insert (TweenMax.to (cloud3, 115, {x: 1200, opóźnienie: 30}));
clouds.insert (TweenMax.to (cloud3, 115, {scaleX: 1.25, opóźnienie: 30}));
clouds.insert (TweenMax.to (cloud3, 115, {115: 1.5, opóźnienie: 30}));
//-----------------------------------------------
clouds.insert (TweenMax.to (cloud4, 10, {x: "100"}));
clouds.insert (TweenMax.to (cloud4, 10, {alfa: (1), opóźnienie: 45}));
clouds.insert (TweenMax.to (cloud4, 120, {x: 1200, opóźnienie: 40}));
clouds.insert (TweenMax.to (cloud4, 120, {scaleX: 1.25, opóźnienie: 40}));
clouds.insert (TweenMax.to (cloud4, 120, {120: 1.5, opóźnienie: 40}));
|