/[flash]/E_viewer.sc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /E_viewer.sc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by dpavlin, Fri Feb 22 14:18:32 2008 UTC revision 8 by dpavlin, Fri Feb 22 15:06:50 2008 UTC
# Line 6  Line 6 
6    
7  .flash filename=E_viewer.swf bbox=100x50  .flash filename=E_viewer.swf bbox=100x50
8    
9            .font comic filename="fonts/comic.swf"
10    
11          .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
12          .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
13          .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
14  #       .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
15          .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
16    
17          .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 size=100% width=60 height=60 align=center border=none noselect variable=infoText
# Line 67  Line 69 
69          .filled arrow_hover outline=o_arrow fill=#3366ff color=salmon line=4          .filled arrow_hover outline=o_arrow fill=#3366ff color=salmon line=4
70          .filled arrow_pressed outline=o_arrow fill=#4466ff color=red line=3          .filled arrow_pressed outline=o_arrow fill=#4466ff color=red line=3
71    
72          .filled cadre_menu outline=o_cadre fill=salmon color=grey line=3  #       .filled menu_background outline=o_cadre fill=salmon color=grey line=3
73    
74  .button next  .button next
75    
# Line 113  Line 115 
115    
116  .end  .end
117    
 .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  
   
118  .button menu_left  .button menu_left
119    
120          .show border_left as=area alpha=50%          .show border_left as=area alpha=50%
# Line 145  Line 134 
134    
135  .sprite C_menu  .sprite C_menu
136    
137          .put cadre_menu x=5 y=5 alpha=90%          .put menu_background x=5 y=5 alpha=90%
138          .put home pin=center x=25 y=28 scale=40% alpha=50%          .put home pin=center x=30 y=30 scale=40% alpha=50%
139          .put prev pin=center x=25 y=65 scale=40% alpha=50% rotate=180          .put prev pin=center x=70 y=30 scale=40% alpha=50% rotate=180
140          .put next pin=center x=25 y=95 scale=40% alpha=50% rotate=0          .put next pin=center x=110 y=30 scale=40% alpha=50% rotate=0
         .put hide pin=center x=25 y=125 scale=20% alpha=50% rotate=0  
141    
142  .end  .end
143    
144    # change this animation for show/hide effect of menu
145  .sprite s_menu  .sprite s_menu
146  .frame 1  .frame 1
147    
# Line 184  Line 173 
173          info._alpha = 50;          info._alpha = 50;
174          info.embedFonts = 0;          info.embedFonts = 0;
175          var monStyle = new TextFormat();          var monStyle = new TextFormat();
176          monstyle.bold = true;          monstyle.bold = false;
177          monStyle.italic = false;          monStyle.italic = false;
178          monStyle.border = false;          monStyle.border = false;
179          monStyle.font = "_sans";          monStyle.font = "_sans";
180    //      monStyle.font = "comic";
181          _root.menu.info.setTextFormat(monStyle);          _root.menu.info.setTextFormat(monStyle);
182            _root.menu.info._y = 20; // doesn't work in .put (?)
183    
184          function showMenu() {          function showMenu() {
185  /*  /*

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26