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
|
<action name="skin_showmap">
if(%1 == null, if(layer[map1].state == 'closed', set(show,true), set(show,false)); , set(show,%1); );
mul(mh, layer[skin_scroll_layer].pixelheight, -1);
if(layer[skin_scroll_layer].y == -100%, copy(layer[skin_scroll_layer].y,mh));
if(show,
tween(layer[skin_logo].alpha, 0.0, 0.25, default, set(layer[skin_logo].visible,false));
tween(layer[skin_thumbs_container].alpha, 0.0, 0.25, default, set(layer[skin_thumbs_container].visible,false));
set(layer[map1].visible, true);
tween(layer[map1].alpha, 1.0, 0.25);
set(layer[map1].state, 'opened');
,
set(layer[map1].state, 'closed');
set(layer[skin_logo].visible, true); tween(layer[skin_logo].alpha, 1.0, 0.25);
tween(layer[skin_scroll_layer].y, get(mh), 0.5, easeOutQuint, set(layer[map1].visible,false) );
);
</action>
<action name="skin_showfloor">
if(%1 == null, if(layer[mapcontainer].state == 'closed', set(show,true), set(show,false)); , set(show,%1); );
mul(mh, layer[skin_scroll_layer].pixelheight, -1);
if(layer[skin_scroll_layer].y == -100%, copy(layer[skin_scroll_layer].y,mh));
if(show,
tween(layer[skin_thumbs_container].alpha, 0.5, 0.25, default, set(layer[skin_thumbs_container].visible,false));
set(layer[mapcontainer].visible, true);
tween(layer[mapcontainer].alpha, 1, 0.25);
set(layer[mapcontainer].state, 'opened');
,
set(layer[mapcontainer].state, 'closed');
tween(layer[skin_scroll_layer].y, get(mh), 0.5, easeOutQuint, set(layer[mapcontainer].visible,false) );
);
</action>
|