-
Notifications
You must be signed in to change notification settings - Fork 0
/
greetings_a_5_to_8_ex2.lzx
62 lines (62 loc) · 1.94 KB
/
greetings_a_5_to_8_ex2.lzx
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<canvas height="170" width="310" >
<resource src="resources/conversations/yaya_iyali_mg.mp3" name="a1"/>
<resource src="resources/conversations/suna_lafiya_v.mp3" name="b1"/>
<resource src="resources/conversations/yaya_aiki_mg.mp3" name="a2"/>
<resource src="resources/conversations/aiki_da_godiya_v.mp3" name="b2"/>
<resource src="resources/images/play_60.png" name="play"/>
<resource src="resources/images/voice_talk_40px.png" name="talk"/>
<class name="PlayButton" valign='middle' resource="play" width='60' onclick="playSound()">
<attribute name="sound" type="string"/>
<method name="playSound">
lz.Audio.playSound(sound);
</method>
</class>
<splash/>
<simplelayout axis='y' spacing='20'/>
<view id='row_1'>
<simplelayout axis='x' spacing='15' />
<view >
<simplelayout axis='y' spacing='5' />
<PlayButton id='button_1' sound='a1' />
<text>Line 5</text>
</view>
<view >
<simplelayout axis='y' spacing='5' />
<view height='${button_1.height}' valign='middle' resource='talk'/>
<text>Your reply</text>
</view>
<view >
<simplelayout axis='y' spacing='5' />
<PlayButton sound='b1' />
<text>Hear reply</text>
</view>
<view >
<simplelayout axis='y' spacing='5' />
<view height='${button_1.height}' valign='middle' resource='talk'/>
<text>Repeat reply</text>
</view>
</view>
<view id='row_2'>
<simplelayout axis='x' spacing='15' />
<view >
<simplelayout axis='y' spacing='5' />
<PlayButton sound='a2' />
<text>Line 7</text>
</view>
<view >
<simplelayout axis='y' spacing='5' />
<view height='${button_1.height}' valign='middle' resource='talk'/>
<text>Your reply</text>
</view>
<view >
<simplelayout axis='y' spacing='5' />
<PlayButton sound='b2' />
<text>Hear reply</text>
</view>
<view >
<simplelayout axis='y' spacing='5' />
<view height='${button_1.height}' valign='middle' resource='talk'/>
<text>Repeat reply</text>
</view>
</view>
</canvas>