home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / Chip_2004-07_cd1.bin / oddech / chain / chainreactiondemo_installer1000.exe / Demo / Interface / Comment / Comment.Movie next >
Encoding:
Text File  |  2003-01-07  |  1.7 KB  |  50 lines

  1. button background =
  2. {
  3.     cast =
  4.     {
  5.         bitmap bmpBackground  = { file = "InfoBase.bmp";  transparency = 255,0,255; }
  6.     }
  7.     frame 1 = { keyframe = { actor = bmpBackground; } }
  8. }
  9.  
  10. button ok =
  11. {
  12.     cast =
  13.     {
  14.         bitmap bmpOkN  = { file = "InfoOKNorm.bmp";  transparency = 255,0,255; }
  15.         bitmap bmpOkR  = { file = "InfoOKRoll.bmp";  transparency = 255,0,255; }
  16.         bitmap bmpOkP  = { file = "InfoOKDown.bmp";  transparency = 255,0,255; }
  17.     }
  18.     frame 1 = { keyframe = { actor = bmpOkN; } }
  19.     frame 2 = { keyframe = { actor = bmpOkR; } }
  20.     frame 3 = { keyframe = { actor = bmpOkP; } }
  21. }
  22.  
  23. movie BACKGROUND =
  24. {                                                                                         
  25.     speed = 10;
  26.                                                                                           
  27.     frame 1 "start" = 
  28.     {
  29.         stop = true;
  30.         keyframe Background = 
  31.         {
  32.             layer       = 12;
  33.             actor       = background;
  34.             position    = 0,0;
  35.             scale       = 1, 1;
  36.             onMouseDown = { callback = "Background"; }
  37.         }
  38.         keyframe Ok =
  39.         {
  40.             layer           = 7;
  41.             actor           = ok;
  42.             position        = 207,318;
  43.             scale           = 1, 1;
  44.             onMouseUp       = { callback = "Ok"; }
  45.             onMouseRollUp   = { callback = "OverOk"; }
  46.             onMouseOffUp    = { callback = "NotOverOk"; }
  47.         }
  48.     }                                                                                      
  49. }                                                                                         
  50.