home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 59 / Cine Live 59.iso / pc / Data / Interface / pubscary3.k < prev    next >
Encoding:
Text File  |  2002-06-11  |  1.6 KB  |  81 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000E7,$0000003A,$0000021F,$000003BF,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000F6,$0000003C,$0000028F,$000001EF,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMovie2
  16.     ];
  17.     Events is [
  18.         cKeyboardEvent
  19.         with Test is IsSpace; 
  20.             Commands is [
  21.                 cRunCommand
  22.                 with Flags is $00000004; Target is oMovie2; Mode is Toggle; end
  23.             ];
  24.         end,
  25.         cKeyboardEvent
  26.         with Value is "+"; 
  27.             Commands is [
  28.                 cSetVolumeCommand
  29.                 with Mode is ExecuteHigher; end
  30.             ];
  31.         end,
  32.         cKeyboardEvent
  33.         with Value is "-"; 
  34.             Commands is [
  35.                 cSetVolumeCommand
  36.                 with Flags is $00000004; Mode is ExecuteLower; end
  37.             ];
  38.         end,
  39.         cKeyboardEvent
  40.         with Value is "m"; 
  41.             Commands is [
  42.                 cRunCommand
  43.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  44.             ];
  45.         end
  46.     ];
  47. end;
  48.  
  49. object oMovie2 is cMPEGMovie
  50. with 
  51.     Flags is $00000154; 
  52.     Name is "Movie"; 
  53.     Cursor is oEmptyCursor; 
  54.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  55.     Width is 800; Height is 600; 
  56.     
  57.     URL is "../Videos/scary2.mpg"; 
  58.     Events is [
  59.         cOnscreenEvent
  60.         with Flags is $00000004; 
  61.             Commands is [
  62.                 cRunCommand
  63.                 with Target is oTargetSelf; Rewind is true; end
  64.             ];
  65.         end,
  66.         cMouseUpEvent
  67.         with Flags is $00000004; 
  68.             Commands is [
  69.                 cBrowseCommand
  70.                 with URL is "videos.k"; end
  71.             ];
  72.         end,
  73.         cFinishedEvent
  74.         with Flags is $00000004; 
  75.             Commands is [
  76.                 cBrowseCommand
  77.                 with URL is "videos.k"; end
  78.             ];
  79.         end
  80.     ];
  81. end;