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
|
<plugin name="fullscreenbtn1" url="fullscreen1.png"
align="rightbottom" edge="rightbottom" x="7" y="7"
enabled="true"
visible="true"
keep="true"
alpha="0.5"
scale="0.9"
onover="tween(plugin[fullscreenbtn1].alpha, 1, distance(5,2), linear); tween(plugin[fullscreenbtn1].scale, 1, distance(5,2), linear);"
onhover="showtext( Открыть на весь экран ,buttontext);"
onout="tween(plugin[fullscreenbtn1].alpha, 0.5, distance(5,2), linear); tween(plugin[fullscreenbtn1].scale, 0.9, distance(5,2), linear);"
onclick="set(fullscreen, true); set(plugin[fullscreenbtn1].visible, false); set(plugin[fullscreenbtn2].visible, true);"
/>
<plugin name="fullscreenbtn2" url="fullscreen2.png"
align="rightbottom" edge="rightbottom" x="7" y="7"
enabled="true"
visible="false"
keep="true"
alpha="0.5"
scale="1.1"
onover="tween(plugin[fullscreenbtn2].alpha, 1, distance(5,2), linear); tween(plugin[fullscreenbtn2].scale, 1.2, distance(5,2), linear);"
onhover="showtext( Закрыть ,buttontext);"
onout="tween(plugin[fullscreenbtn2].alpha, 0.5, distance(5,2), linear); tween(plugin[fullscreenbtn2].scale, 1.1, distance(5,2), linear);"
onclick="set(fullscreen, false); set(plugin[fullscreenbtn1].visible, true); set(plugin[fullscreenbtn2].visible, false);"
/>
<events onenterfullscreen="set(plugin[fullscreenbtn1].visible, false); set(plugin[fullscreenbtn2].visible, true);"
onexitfullscreen="set(plugin[fullscreenbtn1].visible, true); set(plugin[fullscreenbtn2].visible, false);"
/>
|