9 |
.font comic filename="fonts/comic.swf" |
.font comic filename="fonts/comic.swf" |
10 |
|
|
11 |
.box menu_background width=130 height=60 color=navy fill=gray line=0 |
.box menu_background width=130 height=60 color=navy fill=gray line=0 |
12 |
.box page_progress_bar width=110 height=10 color=gray fill=white line=2 |
.box page_progress_bar width=110 height=10 color=white line=2 |
13 |
.box page_current_page width=10 height=10 color=black fill=gray line=2 |
.box page_current_page width=10 height=10 color=black fill=white line=0 |
14 |
|
|
15 |
.box button_idle width=20 height=60 color=blue fill=salmon line=5 |
.box button_idle width=20 height=60 color=blue fill=salmon line=5 |
16 |
.box button_hover width=20 height=60 color=red fill=salmon line=6 |
.box button_hover width=20 height=60 color=red fill=salmon line=6 |
17 |
.box button_pressed width=20 height=60 color=gray fill=salmon line=5 |
.box button_pressed width=20 height=60 color=gray fill=salmon line=5 |
18 |
.box border_left width=10 height=300 color=gray fill=gray line=3 |
.box border_left width=10 height=300 color=gray fill=gray line=3 |
19 |
|
|
20 |
.edittext info text="info" color=black size=100% width=60 height=60 align=center border=none noselect variable=infoText |
.edittext info text="info" color=black width=110 height=20 align=center border=none noselect variable=infoText font=comic size=12pt |
21 |
|
|
22 |
.outline o_cadre: |
.outline o_cadre: |
23 |
|
|
152 |
.put next pin=center x=110 y=30 scale=40% alpha=50% rotate=0 |
.put next pin=center x=110 y=30 scale=40% alpha=50% rotate=0 |
153 |
|
|
154 |
.put page_bar x=15 y=50 |
.put page_bar x=15 y=50 |
155 |
|
.put info x=15 y=45 |
156 |
.end |
.end |
157 |
|
|
158 |
# change this animation for show/hide effect of menu |
# change this animation for show/hide effect of menu |
160 |
.frame 1 |
.frame 1 |
161 |
|
|
162 |
.put C_menu alpha=0% |
.put C_menu alpha=0% |
|
.put info alpha=0% |
|
163 |
|
|
164 |
.frame 5 |
.frame 5 |
165 |
|
|
166 |
.change C_menu alpha=100% |
.change C_menu alpha=100% |
|
.change info alpha=100% |
|
167 |
.stop |
.stop |
168 |
|
|
169 |
.frame 10 |
.frame 10 |
170 |
|
|
171 |
.change C_menu alpha=0% |
.change C_menu alpha=0% |
|
.change info alpha=0% |
|
172 |
.stop |
.stop |
173 |
|
|
174 |
.end |
.end |
183 |
|
|
184 |
info._alpha = 50; |
info._alpha = 50; |
185 |
info.embedFonts = 0; |
info.embedFonts = 0; |
|
var monStyle = new TextFormat(); |
|
|
monstyle.bold = false; |
|
|
monStyle.italic = false; |
|
|
monStyle.border = false; |
|
|
monStyle.font = "_sans"; |
|
|
// monStyle.font = "comic"; |
|
|
_root.menu.info.setTextFormat(monStyle); |
|
|
_root.menu.info._y = 20; // doesn't work in .put (?) |
|
186 |
|
|
187 |
function showMenu() { |
function showMenu() { |
188 |
/* |
/* |
204 |
|
|
205 |
if ( pos == 0 ) pos = 1; |
if ( pos == 0 ) pos = 1; |
206 |
|
|
207 |
_root.menu.infoText = String(page) + " / " + String(total) |
_root.menu.C_menu.infoText = String(page) + " / " + String(total) |
208 |
+ "\r" + String(pos) |
// + "\r" + String(pos) |
209 |
; |
; |
210 |
_root.menu.C_menu.page_bar.gotoAndStop( pos ); |
_root.menu.C_menu.page_bar.gotoAndStop( pos ); |
211 |
}; |
}; |