home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 October / PCWorld_2002-10_cd.bin / Software / TemaCD / wmp9xpbeta / mpsetupXP.exe / Classic.wmz / classic.wms < prev    next >
Encoding:
Text File  |  2002-08-19  |  21.9 KB  |  264 lines

  1.  ■<!--
  2.     ⌐2001 Microsoft Corporation. All rights reserved.
  3. -->
  4. <theme
  5.     author="Microsoft Corporation"
  6.     copyright="(C)2001 Microsoft Corporation. All rights reserved."
  7.     >
  8. <view       width="285" height="359"
  9.             minWidth="255" minHeight="176"
  10.             title="Windows Media Player"
  11.             scriptFile="classic.js;res://wmploc/RT_TEXT/#132;res://wmploc/RT_TEXT/#169"
  12.             width_onchange="SizeChange();" height_onchange="SizeChange();"
  13.             onload="OnLoad();"
  14.             >
  15.         <player         URL_onchange="OnURLChange();"
  16.                         PlayState_onchange="OnPlayStateChange();"
  17.                         OpenState_onchange="OnOpenStateChange();"
  18.                         >
  19.             <controls currentPositionString_onchange="tracktime.value=WMPStringsFunction_GetPositionText();"/>
  20.             <currentMedia durationString_onchange="tracktime.value=WMPStringsFunction_GetPositionText();"/>
  21.         </player>
  22.         <mediacenter    videoZoom_onchange="SnapToSize(true);"
  23.                         >
  24.         </mediacenter>
  25.         <!--    The navigation bar -->
  26.         <subview        width="jscript:view.width" height="1"
  27.                         backgroundColor="#FFFFFF" horizontalAlignment="stretch"
  28.                         >
  29.         </subview>
  30.         <subview        id="navbar"  left="0" top="1"
  31.                         width="jscript:view.width" height="23"
  32.                         horizontalAlignment="stretch"
  33.                         backgroundColor="#D6D3CE"
  34.                         >
  35.             <button     left="2" top="1"
  36.                         image="toggle_up.bmp"
  37.                         hoverImage="toggle_hover.bmp"
  38.                         downImage="toggle_down.bmp"
  39.                         upToolTip="Return to Full Mode"
  40.                         onClick="view.ReturnToMediaCenter();"
  41.                         >
  42.             </button>
  43.         </subview>
  44.         <subview        top="jscript:navbar.top + navbar.height"
  45.                         width="jscript:navbar.width" height="1"
  46.                         backgroundColor="#848284" horizontalAlignment="stretch"
  47.                         >
  48.         </subview>
  49.         <!--    The video window - and replacement icon view -->
  50.         <subview        id="videoview" left="0" top="25"
  51.                         width="jscript:view.width" height="183" 
  52.                         backgroundColor="#000000" 
  53.                         horizontalAlignment="stretch" verticalAlignment="stretch"
  54.                         >
  55.             <wmpVideo      id="video" windowless="false"
  56.                         width="jscript:videoview.width"
  57.                         height="jscript:videoview.height"
  58.                         horizontalAlignment="stretch" verticalAlignment="stretch"
  59.                         backgroundColor="#000000"
  60.                         >
  61.             </wmpVideo>
  62.             <button     id="wmlogo" image="icon_wmlogo.bmp" enabled="false" 
  63.                         horizontalAlignment="center" verticalAlignment="center"
  64.                         >
  65.             </button>
  66.         </subview>
  67.         <!--    The controls and info section -->
  68.         <subview        id="cpane"
  69.                         left="0" top="jscript:videoview.top+videoview.height" width="jscript:view.width" height="jscript:view.height - top"
  70.                         horizontalAlignment="stretch" verticalAlignment="bottom"
  71.                         backgroundColor="#D6D3CE"
  72.                         >
  73.             <slider     id="seek" left="4" top="5" toolTip="Seek"
  74.                         width="jscript:cpane.width-10;"
  75.                         backgroundImage="currentpos_background.bmp"
  76.                         thumbImage="currentpos_thumb.bmp"
  77.                         transparencyColor="#FF00FF"
  78.                         horizontalalignment="stretch" borderSize="7"
  79.                         min="0" max="wmpprop:player.currentmedia.duration"
  80.                         value="wmpprop:player.Controls.currentPosition"
  81.                         onDragEnd="player.controls.currentposition=value;"
  82.                         >
  83.             </slider>
  84.             <playbutton id="play"   left="5" top="25"
  85.                         image="play_up.bmp"
  86.                         hoverImage="play_hover.bmp"
  87.                         downImage="play_down.bmp"
  88.                         disabledImage="play_disabled.bmp" 
  89.                         >
  90.             </playbutton>
  91.             <pausebutton id="pause"  left="26" top="25"
  92.                         image="pause_up.bmp"
  93.                         hoverImage="pause_hover.bmp"
  94.                         downImage="pause_down.bmp"
  95.                         disabledImage="pause_disabled.bmp"
  96.                         >
  97.             </pausebutton>
  98.             <stopbutton id="stop"  left="47" top="25"
  99.                         image="stop_up.bmp"
  100.                         hoverImage="stop_hover.bmp"
  101.                         downImage="stop_down.bmp"
  102.                         disabledImage="stop_disabled.bmp"
  103.                         >
  104.             </stopbutton>
  105.             <subview    left="70" top="25" backgroundImage="divider.bmp">
  106.             </subview>
  107.             <prevbutton id="prev"  left="76" top="25"
  108.                         image="prev_up.bmp"
  109.                         hoverImage="prev_hover.bmp"
  110.                         downImage="prev_down.bmp"
  111.                         disabledImage="prev_disabled.bmp"
  112.                         >
  113.             </prevbutton>
  114.             <rewbutton  id="rw"  left="98" top="25"
  115.                         image="rw_up.bmp"
  116.                         hoverImage="rw_hover.bmp"
  117.                         downImage="rw_down.bmp"
  118.                         disabledImage="rw_disabled.bmp"
  119.                         >
  120.             </rewbutton>
  121.             <ffwdbutton id="ffw"  left="120" top="25"
  122.                         image="ffw_up.bmp"
  123.                         hoverImage="ffw_hover.bmp"
  124.                         downImage="ffw_down.bmp"
  125.                         disabledImage="ffw_disabled.bmp"
  126.                         >
  127.             </ffwdbutton>
  128.             <nextbutton id="next"  left="142" top="25"
  129.                         image="next_up.bmp"
  130.                         hoverImage="next_hover.bmp"
  131.                         downImage="next_down.bmp"
  132.                         disabledImage="next_disabled.bmp"
  133.                         >
  134.             </nextbutton>
  135.             <subview    left="165" top="25" backgroundImage="divider.bmp">
  136.             </subview>
  137.             <button     id="mute"  left="210" top="25" width="21"
  138.                         image="mute_up.bmp"
  139.                         hoverImage="mute_hover.bmp"
  140.                         downImage="mute_down.bmp"
  141.                         sticky="true" upToolTip="Mute"
  142.                         down="wmpprop:player.settings.mute"
  143.                         horizontalAlignment="right"
  144.                         onclick="player.settings.mute=down;"
  145.                         >
  146.             </button>
  147.             <slider     id="volume"  left="232" top="25" width="48"
  148.                         toolTip="Volume" borderSize="5"
  149.                         backgroundImage="volume_background.bmp"
  150.                         thumbImage="volume_thumb.bmp"
  151.                         value="wmpprop:player.settings.volume"
  152.                         value_onchange="player.settings.volume=value"
  153.                         horizontalAlignment="right"
  154.                         >
  155.             </slider>
  156.             <!-- info pane subview -->
  157.             <subview    top="55" width="jscript:cpane.width"
  158.                         height="jscript:cpane.height-top"
  159.                         backgroundColor="#000000"
  160.                         horizontalAlignment="stretch"
  161.                         >
  162.                 <subview    width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch">
  163.                 </subview>
  164.                 <subview    width="1" height="jscript:cpane.height" backgroundColor="#848284">
  165.                 </subview>
  166.                 <text       
  167.                     id="show" top="5" 
  168.                     left="10" 
  169.                     width="jscript:cpane.width-20"
  170.                     justification="left"
  171.                     foregroundColor="#FFFFFF" backgroundColor="#000000"
  172.                     horizontalAlignment="stretch"
  173.                 />
  174.                 <subview    top="22" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch">
  175.                 </subview>
  176.                 <text       
  177.                     id="clip" top="23" 
  178.                     left="10" 
  179.                     width="jscript:cpane.width - 20"
  180.                     justification="left"
  181.                     foregroundColor="#FFFFFF" backgroundColor="#000000"
  182.                     horizontalAlignment="stretch"
  183.                 />
  184.                 <text       
  185.                     id="author" top="39" 
  186.                     left="10" 
  187.                     width="jscript:cpane.width-20"
  188.                     justification="left"
  189.                     backgroundColor="#000000" foregroundColor="#FFFFFF"
  190.                     horizontalAlignment="stretch"
  191.                     />
  192.                 <text
  193.                     id="copyright" top="55" 
  194.                     left="10" 
  195.                     width="jscript:cpane.width-20" 
  196.                     justification="left"
  197.                     foregroundColor="#FFFFFF" backgroundColor="#000000"
  198.                     horizontalAlignment="stretch"
  199.                    />
  200.                 <subview    top="74" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch">
  201.                 </subview>
  202.                 <text       id="info"  top="78" left="10" height="15"
  203.                             fontSize="9"
  204.                             foregroundColor="#FFFFFF"
  205.                             value="wmpprop:player.status"
  206.                             >
  207.                 </text>
  208.                 
  209.                 <text       id="tracktime" fontSize="9"
  210.                             value="jscript:WMPStringsFunction_GetPositionText();"
  211.                             left_onchange="info.width = left - info.left "
  212.                             top="78" left="jscript:view.width - textwidth - 45" height="15"
  213.                             foregroundColor="#FFFFFF"
  214.                             backgroundColor="#000000" justification="right"
  215.                             horizontalAlignment="right"
  216.                             >
  217.                 </text>
  218.                 <subview    id="stereo" left="jscript:cpane.width-30" top="75" width="22" height="20"
  219.                             horizontalAlignment="right"
  220.                             >
  221.                 </subview>
  222.             </subview>
  223.         </subview>
  224.         <text id="xWMP" enabled="false" visible="false"
  225.          toolTip="Windows Media Player"
  226.          >
  227.         </text>
  228.     </view>
  229. </theme>