--- E_viewer.sc 2008/02/22 14:18:32 7 +++ E_viewer.sc 2008/02/22 15:06:50 8 @@ -6,10 +6,12 @@ .flash filename=E_viewer.swf bbox=100x50 + .font comic filename="fonts/comic.swf" + .box button_idle width=20 height=60 color=blue fill=salmon line=5 .box button_hover width=20 height=60 color=red fill=salmon line=6 .box button_pressed width=20 height=60 color=gray fill=salmon line=5 -# .box cadre_menu width=50 height=150 color=navy fill=salmon line=2 + .box menu_background width=130 height=50 color=navy fill=gray line=0 .box border_left width=10 height=300 color=gray fill=gray line=3 .edittext info text="info" color=black size=100% width=60 height=60 align=center border=none noselect variable=infoText @@ -67,7 +69,7 @@ .filled arrow_hover outline=o_arrow fill=#3366ff color=salmon line=4 .filled arrow_pressed outline=o_arrow fill=#4466ff color=red line=3 - .filled cadre_menu outline=o_cadre fill=salmon color=grey line=3 +# .filled menu_background outline=o_cadre fill=salmon color=grey line=3 .button next @@ -113,19 +115,6 @@ .end -.button hide - - .show home_idle as=idle - .show home_idle as=area - .show home_hover as=hover - .show home_pressed as=pressed - # ActionScript - .on_release: - showMenu(); - .end - -.end - .button menu_left .show border_left as=area alpha=50% @@ -145,14 +134,14 @@ .sprite C_menu - .put cadre_menu x=5 y=5 alpha=90% - .put home pin=center x=25 y=28 scale=40% alpha=50% - .put prev pin=center x=25 y=65 scale=40% alpha=50% rotate=180 - .put next pin=center x=25 y=95 scale=40% alpha=50% rotate=0 - .put hide pin=center x=25 y=125 scale=20% alpha=50% rotate=0 + .put menu_background x=5 y=5 alpha=90% + .put home pin=center x=30 y=30 scale=40% alpha=50% + .put prev pin=center x=70 y=30 scale=40% alpha=50% rotate=180 + .put next pin=center x=110 y=30 scale=40% alpha=50% rotate=0 .end +# change this animation for show/hide effect of menu .sprite s_menu .frame 1 @@ -184,11 +173,13 @@ info._alpha = 50; info.embedFonts = 0; var monStyle = new TextFormat(); - monstyle.bold = true; + 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 (?) function showMenu() { /*