home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 November / Chip_2002-11_cd1.bin / zkuste / wmakeup / download / xbox.wmz / xbox.wms < prev    next >
Text File  |  2002-02-28  |  31KB  |  396 lines

  1. <!-- created by : D. Parise & A. Roman -->
  2. <!-- http://www.theskinsfactory.com -->
  3. <!-- info@theskinsfactory.com -->
  4.  
  5. <theme id="theBox-xp" title="Official Xbox Skin for Windows Media Player" author="The Skins Factory.com" copyright="(c)2002 Microsoft Corporation. All rights reserved." version="8" 
  6.     authorVersion="1.5xp">
  7.  
  8. <!-- Microsoft preview image code -->
  9.     <view scriptfile="auto.js" titlebar="false" resizable="false" backgroundImage="preview.jpg" clippingColor="none" onload="AutoLoad();">
  10.     </view>
  11. <!-- end -->
  12.  
  13.     <view id="mainBox" titleBar="false" width="350" height="216" backgroundColor="none" scriptFile="xbox.js;res://wmploc.dll/RT_TEXT/#132;" 
  14.         onLoad="mainLoader();" onClose="shutDown();" timerInterval="400" onTimer="resetCode()">
  15.  
  16.     <player PlayState_onchange="onPlayStateChange();" OpenState_onchange="onPlayStateChange()" status_onChange="updateMetadata();">
  17.          <controls currentPosition_onchange="progressMain.value=player.controls.currentPosition; " />
  18.     </player>
  19.  
  20.         <video visible="false" enabled="true" onvideostart="theme.openview( 'videoBox' );" />
  21.  
  22.         <subview zIndex="1" id="mainBack" left="0" top="0" backgroundImage="main.png" transparencyColor="#ff00ff">
  23.             <button id="minButton" left="169" top="9" image="min_hov.gif" hoverImage="min_no.gif" donwImage="min_do.gif" onClick="view.minimize();" upToolTip="Minimize" />
  24.             <button id="fullModeButton" left="195" top="9" image="full_hov.gif" hoverImage="full_no.gif" downImage="full_do.gif" onClick="view.returnToMediaCenter();" upToolTip="Return To Full Mode" />
  25.             <button id="closeButton" left="219" top="9" image="close_hov.gif" hoverImage="close_no.gif" downImage="close_do.gif" onClick="view.close();" upToolTip="Close" />
  26.  
  27.             <button id="xBox" left="37" top="99" image="x_pulse.png" hoverImage="x_pulse.gif" downImage="x_pulse_hov.gif" onClick="toggleContent();" upToolTip="XBOX Info"  
  28.             onMouseOver="pressButton(event);" onmousemove="pressButton(event);" onKeyDown="pressButton(event);"/>
  29.  
  30.         </subview>
  31.         <subview zIndex="150" left="102" top="149" width="20" height="20">
  32.             <button id="reverseButton" zIndex="150" left="0" top="0" image="reverse_no.png" hoverImage="reverse_hov.png" downImage="reverse_do.png" hoverDownImage="reverse_hov.png" onClick="reverseAnim();" upToolTip="Close Shutter" sticky="true"/>
  33.         </subview>
  34.         <subview zIndex="2" left="39" top="155" width="198" height="48">
  35.         <subview zIndex="5" left="106" top="15" backgroundImage="button_patch.png" passthrough="true">
  36.         </subview>
  37.             <buttongroup zIndex="3" left="0" top="0" image="xp_up_open.gif" hoverImage="xp_hover_open.gif" downImage="xp_down_open.gif" mappingImage="xp_map_open.png">
  38.                 <buttonelement upToolTip="Open File" onClick="jscript:player.URL=theme.openDialog('FILE_OPEN','FILES_ALLMEDIA');" mappingColor="#990066"/>
  39.             </buttongroup>
  40.  
  41.             <buttongroup zIndex="4" left="27" top="9" image="xp_pause_no.gif" hoverImage="xp_pause_hov.gif" downImage="xp_pause_do.gif" mappingImage="xp_pause_map.png" visible="wmpenabled:player.controls.pause">
  42.                 <pauseelement mappingColor="#330099" />
  43.             </buttongroup>
  44.  
  45.             <buttongroup zIndex="3" left="26" top="0" image="xp_up.gif" hoverImage="xp_hover.gif" downImage="xp_down.gif" mappingImage="xp_map.png">
  46.                 <playelement mappingColor="#9900ff"/>
  47.                 <stopelement mappingColor="#9900cc"/>
  48.             </buttongroup>
  49.             <buttongroup zIndex="3" left="106" top="15" image="xp_np_no.gif" hoverImage="xp_np_hov.gif" downImage="xp_np_do.gif" mappingImage="xp_np_map.png" transparencyColor="#ff00ff">
  50.                 <prevelement mappingColor="#990033"/>
  51.                 <nextelement mappingColor="#993300"/>
  52.             </buttongroup>
  53.  
  54.         </subview>
  55.  
  56.         <subview zIndex="50" left="207" top="167" backgroundImage="min_patch.png" passThrough="true">
  57.         </subview>
  58.  
  59.         <subview zIndex="20" id="screenCover" left="124" top="49" backgroundImage="screen_cover.png" passthrough="true">
  60.             <subview zIndex="19" id="xIntro" left="0" top="0" backgroundImage="x_intro_anim.gif" passthrough="true">
  61.             </subview>
  62.              <subview zIndex="18" id="introAnim" left="2" top="0" backgroundImage="intro_anim.gif" transparencyColor="#ff00ff" passthrough="true">
  63.                 <subview zIndex="17" left="0" id="introPNG" backgroundImage="intro_anim.png" visible="false">
  64.                 </subview>
  65.             </subview>
  66.         </subview>
  67.  
  68.         <subview zIndex="12" left="124" top="125" backgroundImage="screen_buttons_back.png">
  69.             <button zIndex="14" id="visPrev" left="32" top="41" image="vis_prev_no.gif" hoverImage="vis_prev_hov.gif" downImage="vis_prev_do.gif" onClick="jscript:visEffects.previous();" upToolTip="Previous Vis Preset"/>
  70.             <button zIndex="14" id="eqButton" left="56" top="22" image="eq_no.gif" hoverImage="eq_hov.gif" downImage="eq_do.gif" onClick="showEQ();" upToolTip="Equalizer" />
  71.             <button zIndex="14" id="visButton" left="84" top="23" image="vis_hov.gif" hoverImage="vis_no.gif" downImage="vis_do.gif" onClick="shuffVis(visStatus++);" upToolTip="Vis Effects - Click to change" visible="true"/>
  72.             <button zIndex="14" id="visButtonEQKiller" left="84" top="23" image="vis_hov.gif" hoverImage="vis_no.gif" downImage="vis_do.gif" onClick="showEQ();" upToolTip="Vis Effects" visible="false"/>
  73.             <button zIndex="14" id="plButton" left="113" top="22" image="pl_no.gif" hoverImage="pl_hov.gif" downImage="pl_do.gif" onClick="togglePL();" upToolTip="Playlist"/>            
  74.             <button zIndex="14" id="visNext" left="142" top="40" image="vis_next_no.gif" hoverImage="vis_next_hov.gif" downImage="vis_next_do.gif" onClick="jscript:visEffects.next();" upToolTip="Next Vis Preset"/>
  75.  
  76.             <CustomSlider zIndex="10" id="volume" left="5" top="-4" min="0" max="100" borderSize="10" toolTip="Volume" image="vol.png" 
  77.             positionImage="vol_map.gif" enabled="true" value="wmpprop:player.settings.volume" 
  78.             value_onchange="wmpprop:player.settings.volume = value" cursor="hand" onkeydown="volUpDown(event);"/>
  79.  
  80.         </subview>
  81.  
  82.         <subview zIndex="11" left="124" top="49" backgroundImage="time_meta_back.png">
  83.             <text id="metadata" zIndex="19" left="37" top="13" width="110" height="10" textwidth_onchange="JScript:scrolling=(textwidth>width);" 
  84.             fontSize="7" fontSmoothing="true" fontFace="arial,verdana" foregroundColor="#63E900"  
  85.             scrollingDelay="7" scrollingAmount="1" justification="center" fontStyle="bold" scrolling="true"/>
  86.  
  87.             <text zIndex="19" id="time" left="72" top="2" width="50" fontSize="8" scrolling="false" fontSmoothing="true" 
  88.             foregroundColor="#63E900" scrolingDelay="50" scrollingAmmount="1" fontStyle="bold" justification="center"
  89.             value="wmpprop:player.controls.currentPositionString" fontFace="verdana,arial" />
  90.  
  91.         <CustomSlider zIndex="10" id="progressMain" left="26" top="23" min="0" max="wmpprop:player.currentMedia.duration" borderSize="0" 
  92.         toolTip="Seek" image="seek.png" positionImage="seek_map.gif" enabled="true" onKeyDown="seekUpDown(event);"
  93.         cursor="hand" onmouseup="player.controls.currentPosition=progressMain.value;" />
  94.  
  95.         </subview>
  96.  
  97.         <subview zIndex="4" id="backAnimation" left="127" top="75" backgroundImage="screen_back_blur.jpg" visible="true">
  98.             <subview zIndex="5" id="visAnimation" left="0" top="0" backgroundImage="nobang2.gif" visible="false">
  99.             </subview>
  100.                 <effects zIndex="2" id="visEffects" left="0" top="0" visible="true" width="jscript:backAnimation.width" height="jscript:backAnimation.height" 
  101.                 backgroundImage="" windowed="false" visible="false" currentEffectType="jscript:mediacenter.effectType();" currentPreset="jscript:mediacenter.effectPreset();" />
  102.  
  103.         </subview>
  104.  
  105.         <subview zIndex="6" id="eqBack" left="128" top="77" backgroundImage="eq_back.png" visible="false">
  106.  
  107.         <button left="9" top="25" image="eq_prev_no.gif" hoverImage="eq_prev_hov.gif" downImage="eq_prev_do.gif" onClick="jscript:eq.previousPreset();" upToolTip="Previous EQ Preset"/>
  108.  
  109.             <equalizerSettings id="eq" enable="true" />
  110.             <slider id="eq1" borderSize="4" left="25" top ="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel1" value_onchange="eq.gainLevel1=value;" direction="vertical" toolTip="31hz" />
  111.             <slider id="eq2" borderSize="4" left="38" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel2" value_onchange="eq.gainLevel2=value;" direction="vertical" toolTip="63hz" />
  112.             <slider id="eq3" borderSize="4" left="50" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel3" value_onchange="eq.gainLevel3=value;" direction="vertical" toolTip="125hz"/>
  113.             <slider id="eq4" borderSize="4" left="62" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel4" value_onchange="eq.gainLevel4=value;" direction="vertical" toolTip="250hz"/>
  114.             <slider id="eq5" borderSize="4" left="75" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel5" value_onchange="eq.gainLevel5=value;" direction="vertical" toolTip="500hz"/>
  115.             <slider id="eq6" borderSize="4" left="87" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel6" value_onchange="eq.gainLevel6=value;" direction="vertical" toolTip="1khz" />
  116.             <slider id="eq7" borderSize="4" left="100" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel7" value_onchange="eq.gainLevel7=value;" direction="vertical" toolTip="2khz" />
  117.             <slider id="eq8" borderSize="4" left="112" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel8" value_onchange="eq.gainLevel8=value;" direction="vertical" toolTip="4khz"/>
  118.             <slider id="eq9" borderSize="4" left="124" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel9" value_onchange="eq.gainLevel9=value;" direction="vertical" toolTip="8khz"/>
  119.             <slider id="eq10" borderSize="4" left="137" top="10" width="10" height="42" toolTip="Equaliser Adjustment" thumbImage="thumb.png" thumbDownImage="thumb2.png" min="-14" max="14" value="wmpprop:eq.gainLevel10" value_onchange="eq.gainLevel10=value;" direction="vertical" toolTip="16khz"/>
  120.  
  121.             <text zIndex="50" id="eqPresetText" left="59" top="53" width="55" fontSize="7" scrolling="false" fontSmoothing="true" fontFace="verdana"
  122.             foregroundColor="#73cc00" scrolingDelay="85" scrollingAmmount="1" fontStyle="normal" justification="center"
  123.             value="wmpprop:eq.currentPresetTitle" visible="true"/>
  124.  
  125.         <button left="148" top="25" image="eq_next_no.gif" hoverImage="eq_next_hov.gif" downImage="eq_next_do.gif" onClick="jscript:eq.nextPreset();" upToolTip="Next EQ Preset"/>
  126.  
  127.         </subview>
  128.  
  129.     </view>
  130.  
  131. <!-- the video -->
  132. <!-- width="398" height="316"  18  398-->
  133.  
  134.     <view id="videoBox" titleBar="false" width="player.currentMedia.imageSourceWidth+91" height="400" 
  135.         minWidth="398" minHeight="400" resizable="true" backgroundColor="none" scriptFile="xbox.js;res://wmploc.dll/RT_TEXT/#132;"
  136.         onLoad="OnLoadVideo();loadVidPrefs();" onClose="OnCloseVideo();saveVidPrefs();">
  137.  
  138.         <player OpenState_onchange="SnapToVideo();onPlayStateChange;" PlayState_onchange="onPlayStateChange();" >
  139.             <controls currentPosition_onchange = "progress.value=player.controls.currentPosition; " />
  140.         </player>
  141.  
  142.         <subview zIndex="4" left="0" top="0" backgroundImage="x_top_left.png" verticalAlignment="top" horizontalAlignment="left" transparencyColor="#ff00ff">
  143.         </subview>
  144.         <subview zIndex="4" left="0" top="jscript:view.height-161" backgroundImage="x_bot_left.png" verticalAlignment="bottom" horizontalAlignment="left"
  145.             transparencyColor="#ff00ff">
  146.  
  147.         </subview>
  148.         <subview zIndex="4" left="jscript:view.width-77" top="jscript:view.height-161" backgroundImage="x_bot_right.png" verticalAlignment="bottom"
  149.             horizontalAlignment="right" transparencyColor="#ff00ff">
  150.             <button left="0" top="0" image="x_bot_right.png" onMouseDown="jscript:AllowResizeVideo();view.size( 'bottomright' );g_fUserHasSized=true;" cursor="hand"
  151.                 tabstop="false" upToolTip="Resize"/>
  152.         </subview>
  153.         <subview zIndex="4" left="jscript:view.width-77" top="0" backgroundImage="x_top_right.png" verticalAlignment="top" horizontalAlignment="right"
  154.              transparencyColor="#ff00ff">
  155.              <button left="30" top="2" image="x_vid_close_no.gif" hoverImage="x_vid_close_hov.gif" downImage="x_vid_close_do.gif" onClick="stopVideo();"
  156.                  upToolTip="Close Video Window"/>
  157.         </subview>
  158.  
  159.         <subview zIndex="0" left="0" top="65" backgroundImage="x_left.png" verticalAlignment="stretch" horizontalAlignment="left" backgroundTiled="true"
  160.             transparencyColor="#ff00ff">
  161.         </subview>
  162.         <subview zIndex="0" left="65" top="jscript:view.height-108" backgroundImage="x_bot.png" verticalAlignment="bottom" horizontalAlignment="stretch"
  163.             backgroundTiled="true" transparencyColor="#ff00ff">
  164.         </subview>
  165.         <subview zIndex="0" left="jscript:view.width-24" top="65" backgroundImage="x_right.png" verticalAlignment="stretch" horizontalAlignment="right"
  166.             transparencyColor="#ff00ff" backgroundTiled="true">
  167.         </subview>
  168.         <subview zIndex="0" left="65" top="0" backgroundImage="x_top.png" verticalAlignment="top" horizontalAlignment="stretch" transparencyColor="#ff00ff"
  169.             backgroundTiled="true">
  170.         </subview>
  171.  
  172.         <subview zIndex="3" left="77" top="jscript:view.height-144" backgroundImage="x_f_bot.png" verticalAlignment="bottom" horizontalAlignment="left">
  173.         </subview>
  174.         <subview zIndex="2" left="230" top="jscript:view.height-144" backgroundImage="x_f_bot_s.png" verticalAlignment="bottom" horizontalAlignment="stretch"
  175.             backgroundTiled="true">
  176.         </subview>
  177.         <subview zIndex="3" left="jscript:view.width-163" top="jscript:view.height-144" backgroundImage="x_f_bot2.png" verticalAlignment="bottom"
  178.             horizontalAlignment="right">
  179.         </subview>
  180.         <subview zIndex="3" left="77" top="24" backgroundImage="x_f_top.png" verticalAlignment="top" horizontalAlignment="left">
  181.         </subview>
  182.         <subview zIndex="2" left="230" top="24" backgroundImage="x_f_top_s.png" verticalAlignment="top" horizontalAlignment="stretch" backgroundTiled="true">
  183.         </subview>
  184.         <subview zIndex="3" left="jscript:view.width-163" top="24" backgroundImage="x_f_top2.png" verticalAlignment="top" horizontalAlignment="right">
  185.         </subview>
  186.         <subview zIndex="3" left="24" top="77" backgroundImage="x_f_left.png" verticalAlignment="top" horizontalAlignment="left">
  187.         </subview>
  188.         <subview zIndex="2" left="24" top="177" backgroundImage="x_f_left_s.png" verticalAlignment="stretch" horizontalAlignmnet="left"
  189.             backgroundTiled="true">
  190.         </subview>
  191.         <subview zIndex="3" left="24" top="jscript:view.height-217" backgroundImage="x_f_left2.png" verticalAlignment="bottom" horizontalAlignment="left">
  192.         </subview>
  193.         <subview zIndex="3" left="jscript:view.width-60" top="77" backgroundImage="x_f_right.png" verticalAlignment="top" horizontalAlignment="right">
  194.         </subview>
  195.         <subview zIndex="2" left="jscript:view.width-60" top="177" backgroundImage="x_f_right_s.png" verticalAlignment="stretch" horizontalAlignment="right"
  196.             backgroundTiled="true">
  197.         </subview>
  198.         <subview zIndex="3" left="jscript:view.width-60" top="jscript:view.height-217" backgroundImage="x_f_right2.png" verticalAlignment="bottom"
  199.             horizontalAlignment="right">
  200.         </subview>
  201.  
  202.         <subview zIndex="6" id="centerBox" left="46" top="47" width="jscript:view.width-91" height="jscript:view.height-179" backgroundColor="#000000" 
  203.             verticalAlignment="stretch" horizontalAlignment="stretch">
  204.  
  205.  
  206.         <video zIndex="8" id="videoWin" windowless="false" width="jscript:centerBox.width" height="jscript:centerBox.height" 
  207.         horizontalAlignment="stretch" verticalAlignment="stretch" onvideostart="SnapToVideo();showmeVid();" backgroundColor="black" onvideoend="hideVideo();"
  208.         onclick="ZoomVideo();" OnDblClick="videoWin.fullScreen=true" fullScreen="true" maintainAspectRatio="true" stretchToFit="true" shrinkToFit="true"
  209.         tabstop="false"/>
  210.  
  211.              <subview id="xLogo" zIndex="7" backgroundImage="x_logo.jpg" width="jsa:centerBox.width" height="jsa:centerBox.height" visible="true"
  212.                 verticalAlignment="center" horizontalAlignment="center">
  213.             </subview>
  214.         </subview>
  215.  
  216.         <subview zIndex="1" id="vidSettings" top="jscript:view.height-210" backgroundImage="x_vid_drawer.png" verticalAlignment="bottom" horizontalAlignment="center"  
  217.             transparencyColor="#ff00ff" onEndMove="hideVidSettings();">
  218.         <subview id="settingsFrame" zIndex="1" left="0" top="0" width="223" height="111">
  219.             <progressbar zIndex="20" left="20" top="17" width="184" height="6" id="progress" min="0" slide="false" borderSize="0" 
  220.             max="wmpprop:player.currentMedia.duration" onmouseup="player.controls.currentPosition=progress.value;" borderSize="9" 
  221.             toolTip="Seek" slide="false" cursor="hand" thumbImage="vid_thumb.png"/>
  222.  
  223.              <videosettings id="vidset" enable="true" />
  224.  
  225.                 <button left="23" top="47" width="60" height="5" onClick="JScript:vidset.brightness=0;" upTooltip="Reset Brightness" cursor="hand"/>
  226.                 <slider id="brightness"    toolTip="Brightness" left="91" top="47" width="111" height="6" borderSize="9" direction="horizontal" 
  227.                 thumbImage="vid_thumb.png" thumbDownImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.brightness" value_onchange="vidset.brightness=value;" />
  228.                 <button left="23" top="57" width="60" height="5" onClick="JScript:vidset.contrast=0;" upTooltip="Reset Contrast" cursor="hand"/>
  229.                 <slider id="contrast" toolTip="Contrast" left="91" top="57" width="111" height="6" borderSize="9" direction="horizontal" slide="false" 
  230.                 thumbImage="vid_thumb.png" thumbDownImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.contrast" value_onchange="vidset.contrast=value;"/>
  231.                 <button left="23" top="67" width="60" height="5" onClick="JScript:vidset.hue=0;" upTooltip="Reset Hue" cursor="hand"/>
  232.                 <slider id="hue" toolTip="Hue" left="91" top="67" width="111" height="6" borderSize="9" direction="horizontal" slide="false" thumbImage="vid_thumb.png" 
  233.                 thumbDownImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.hue"     value_onchange="vidset.hue=value;"/>
  234.                 <button left="23" top="77" width="60" height="5" onClick="JScript:vidset.saturation=0;" upTooltip="Reset Saturation" cursor="hand"/>
  235.                 <slider id="saturation"    toolTip="Saturation" left="91" top="77" width="111" height="6" borderSize="9" min="-127" max="127" direction="horizontal" 
  236.                 thumbImage="vid_thumb.png" thumbDownImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.saturation" value_onchange="vidset.saturation=value;"/>
  237.                 
  238.             <buttongroup left="60" top="25" image="x_d_no.png" hoverImage="x_d_hov.png" downImage="x_d_do.png" mappingImage="x_d_map.png">
  239.                 <prevelement mappingColor="#990033"/>
  240.                 <playelement mappingColor="#9900ff"/>
  241.                 <pauseelement mappingColor="#33ffff"/>
  242.                 <stopelement mappingColor="#9900cc"/>
  243.                 <buttonelement upToolTip="Open File" onClick="jscript:player.URL=theme.openDialog('FILE_OPEN','FILES_ALLMEDIA');" mappingColor="#990066"/>
  244.                 <nextelement mappingColor="#993300"/>
  245.             </buttongroup>
  246.  
  247.         </subview>
  248.             <button zIndex="20" id="xDown" left="100" top="96" image="x_d_down.png" hoverImage="x_d_down_hov.png" downImage="x_d_down.png" onClick="moveVidSettings()" upToolTip="Open Video Settings" visible="true"/>
  249.             <button zIndex="22" id="xUp" left="100" top="96" image="x_d_up.png" hoverImage="x_d_up_hov.png" downImage="x_d_up.png" onClick="moveVidSettings()" upToolTip="Close Video Settings" visible="false"/>
  250.  
  251.         </subview>
  252.         <subview zIndex="9" top="jscript:view.height-122" height="14" width="14" verticalAlignment="bottom" horizontalAlignment="center">
  253.             <button id="vidDrawerUpS" left="1" top="0" image="x_vid_drawer_down.png" hoverImage="x_vid_drawer_down_hov.png" downImage="x_vid_drawer_down_do.png" disabledImage="x_vid_drawer_down_disa.png" onClick="moveVidSettings();" upToolTip="Show Settings Drawer"/>
  254.         </subview>
  255.     </view>
  256.  
  257.  
  258. <!-- the pl -->
  259.  
  260.     <view id="plBox" titleBar="false" width="398+50" height="316" minWidth="438" minHeight="316" resizable="true" backgroundColor="none" 
  261.         scriptFile="xbox.js;res://wmploc.dll/RT_TEXT/#132;" onLoad="onLoadPL();" onClose="onClosePL();" >
  262.  
  263.         <subview zIndex="4" left="0" top="0" backgroundImage="x_top_left.png" verticalAlignment="top" horizontalAlignment="left" transparencyColor="#ff00ff">
  264.             <button id="shuffeButton" left="15" top="3" image="shuff_no.png" hoverImage="shuff_hov.gif" downImage="shuff_do.png" downHoverImage="shuff_hov.gif" sticky="true" 
  265.             upTooltip="Enable Shuffle" downTooltip="Disable Shuffle" down="jscript:player.settings.getMode('shuffle');"    
  266.             onClick="player.settings.setMode('shuffle',down);" />
  267.  
  268.             <button id="repeatButton" left="38" top="3" image="rep_no.png" hoverImage="rep_hov.gif" downImage="rep_do.png" downHoverImage="rep_shuff.gif" sticky="true" 
  269.             upTooltip="Enable Repeat" downTooltip="Disable Repeat" down="jscript:player.settings.getMode('loop');"    
  270.             onClick="player.settings.setMode('loop',down);" />
  271.  
  272.         </subview>
  273.         <subview zIndex="4" left="0" top="jscript:view.height-77" backgroundImage="x_bot_left.png" verticalAlignment="bottom" horizontalAlignment="left"
  274.             transparencyColor="#ff00ff">
  275.         </subview>
  276.         <subview zIndex="4" left="jscript:view.width-77" top="jscript:view.height-77" backgroundImage="x_bot_right.png" verticalAlignment="bottom"
  277.             horizontalAlignment="right" transparencyColor="#ff00ff">
  278.             <button left="0" top="0" image="x_bot_right.png" onMouseDown="view.size( 'bottomright' );" cursor="hand" tabstop="false"
  279.                 upToolTip="Resize"/>
  280.         </subview>
  281.         <subview zIndex="4" left="jscript:view.width-77" top="0" backgroundImage="x_top_right.png" verticalAlignment="top" horizontalAlignment="right"
  282.              transparencyColor="#ff00ff">
  283.              <button left="30" top="2" image="x_vid_close_no.gif" hoverImage="x_vid_close_hov.gif" downImage="x_vid_close_do.gif" 
  284.                  onClick="theme.savePreference('plViewer', 'false'); view.close();" upToolTip="Close Playlist Window"/>
  285.         </subview>
  286.  
  287.         <subview zIndex="2" left="0" top="65" backgroundImage="x_left.png" verticalAlignment="stretch" horizontalAlignment="left" backgroundTiled="true"
  288.             transparencyColor="#ff00ff">
  289.         </subview>
  290.         <subview zIndex="2" left="65" top="jscript:view.height-24" backgroundImage="x_bot.png" verticalAlignment="bottom" horizontalAlignment="stretch"
  291.             backgroundTiled="true" transparencyColor="#ff00ff">
  292.         </subview>
  293.         <subview zIndex="2" left="jscript:view.width-24" top="65" backgroundImage="x_right.png" verticalAlignment="stretch" horizontalAlignment="right"
  294.             transparencyColor="#ff00ff" backgroundTiled="true">
  295.         </subview>
  296.         <subview zIndex="2" left="65" top="0" backgroundImage="x_top.png" verticalAlignment="top" horizontalAlignment="stretch" transparencyColor="#ff00ff"
  297.             backgroundTiled="true">
  298.         </subview>
  299.  
  300.         <subview zIndex="3" left="77" top="jscript:view.height-60" backgroundImage="x_f_bot.png" verticalAlignment="bottom" horizontalAlignment="left">
  301.         </subview>
  302.         <subview zIndex="2" left="230" top="jscript:view.height-60" backgroundImage="x_f_bot_s.png" verticalAlignment="bottom" horizontalAlignment="stretch"
  303.             backgroundTiled="true">
  304.         </subview>
  305.         <subview zIndex="3" left="jscript:view.width-163" top="jscript:view.height-60" backgroundImage="x_f_bot2.png" verticalAlignment="bottom"
  306.             horizontalAlignment="right">
  307.         </subview>
  308.         <subview zIndex="3" left="77" top="24" backgroundImage="x_f_top.png" verticalAlignment="top" horizontalAlignment="left">
  309.         </subview>
  310.         <subview zIndex="2" left="230" top="24" backgroundImage="x_f_top_s.png" verticalAlignment="top" horizontalAlignment="stretch" backgroundTiled="true">
  311.         </subview>
  312.         <subview zIndex="3" left="jscript:view.width-163" top="24" backgroundImage="x_f_top2.png" verticalAlignment="top" horizontalAlignment="right">
  313.         </subview>
  314.         <subview zIndex="3" left="24" top="77" backgroundImage="x_f_left.png" verticalAlignment="top" horizontalAlignment="left">
  315.         </subview>
  316.         <subview zIndex="2" left="24" top="177" backgroundImage="x_f_left_s.png" verticalAlignment="stretch" horizontalAlignmnet="left"
  317.             backgroundTiled="true">
  318.         </subview>
  319.         <subview zIndex="3" left="24" top="jscript:view.height-133" backgroundImage="x_f_left2.png" verticalAlignment="bottom" horizontalAlignment="left">
  320.         </subview>
  321.         <subview zIndex="3" left="jscript:view.width-60" top="77" backgroundImage="x_f_right.png" verticalAlignment="top" horizontalAlignment="right">
  322.         </subview>
  323.         <subview zIndex="2" left="jscript:view.width-60" top="177" backgroundImage="x_f_right_s.png" verticalAlignment="stretch" horizontalAlignment="right"
  324.             backgroundTiled="true">
  325.         </subview>
  326.         <subview zIndex="3" left="jscript:view.width-60" top="jscript:view.height-133" backgroundImage="x_f_right2.png" verticalAlignment="bottom"
  327.             horizontalAlignment="right">
  328.         </subview>
  329.  
  330.         <subview zIndex="6" id="plCenterBox" left="46" top="47" width="jscript:view.width-91" height="jscript:view.height-96" backgroundColor="#000000" 
  331.             verticalAlignment="stretch" horizontalAlignment="stretch">
  332.         <playlist id="plFrame" width="jscript:plCenterBox.width" height="jscript:plCenterBox.height"
  333.         backgroundColor="#000000" backgroundImage="" foregroundcolor="#7ec509" itemPlayingColor="#ffffff" itemPlayingBackgroundColor="#369108" 
  334.         disabledItemColor="#cccccc" columns="name=Name;artist=Artist;album=Album;duration=Time;" playlistItemsVisible="true" dropDownVisible="true" 
  335.         horizontalAlignment="stretch" verticalAlignment="stretch" allowItemEditing="true" columnsVisible="true" allowColumnSorting="true" 
  336.         editbuttonsvisible="false" movebuttonsvisible="false" checkboxesVisible="false"/>
  337.  
  338.         </subview>
  339.  
  340.     </view>
  341.  
  342. <!-- content mode -->
  343.     <view id="contentBox" titleBar="false" width="398" height="316" minWidth="398" minHeight="316" resizable="false" backgroundColor="none" 
  344.         scriptFile="xbox.js;res://wmploc.dll/RT_TEXT/#132;" onLoad="theme.savePreference( 'contentViewer', 'true' )" >
  345.         <subview zIndex="4" left="0" top="0" backgroundImage="content_mode.png" transparencyColor="#ff00ff">
  346.              <button left="350" top="2" image="x_vid_close_no.gif" hoverImage="x_vid_close_hov.gif" downImage="x_vid_close_do.gif" onClick="theme.savePreference('contentViewer', 'false'); view.close();"
  347.                  upToolTip="Close Content Window"/>
  348.     
  349.         </subview>
  350.  
  351.         <subview zIndex="6" id="plCenterBox" left="60" top="60" width="jscript:view.width-120" height="jscript:view.height-120" backgroundColor="#000000" 
  352.             verticalAlignment="stretch" horizontalAlignment="stretch">
  353.         </subview>
  354.  
  355.         <subview zIndex="10" id="contentShow" left="59" top="54" backgroundImage="c_xbox.jpg" width="284" visible="true">
  356.             <button id="systemLink" left="0" top="0" width="284" height="100" onClick="jscript:player.launchURL('http://www.xbox.com/system/default.htm')" cursor="hand" visible="true"/>
  357.             <button id="gamesLink" left="0" top="0" width="284" height="100" onClick="jscript:player.launchURL('http://www.xbox.com/games/default.htm')" cursor="hand" visible="false"/>
  358.             <button id="abcLink" left="0" top="0" width="284" height="100" onClick="jscript:player.launchURL('http://www.xbox.com/')" cursor="hand" visible="false"/>
  359.             <button id="winmediaLink" left="0" top="0" width="284" height="100" onClick="jscript:player.launchURL('http://www.windowsmedia.com')" cursor="hand" visible="false"/>
  360.             <button id="csLink" left="0" top="0" width="284" height="100" onClick="jscript:player.launchURL('http://www.microsoft.com/windows/windowsmedia/coolstuff.asp')" cursor="hand" visible="false"/>
  361.         </subview>
  362.  
  363.         <subview zIndex="9" id="alphaShader" left="69" top="151" backgroundImage="c_alpha_shader.png" passthrough="true">
  364.         </subview>
  365.         <subview zIndex="10" id="nav" left="59" top="234" backgroundImage="c_nav.png">
  366.         </subview>
  367.         <subview zIndex="11" left="234" top="149" backgroundImage="c_patch.png" passThrough="true">
  368.         </subview>
  369.             <subview zIndex="8" id="xboxText" left="65" top="172" backgroundImage="c_xbox_text.gif" visible="true">
  370.             </subview>
  371.             <subview zIndex="8" id="gamesText" left="65" top="235" backgroundImage="c_games_text.gif" visible="true">
  372.             </subview>
  373.             <subview zIndex="8" id="webText" left="65" top="235" backgroundImage="c_web_text.gif" visible="true">
  374.             </subview>
  375.             <subview zIndex="8" id="winmediaText" left="65" top="235" backgroundImage="c_winmedia_text.gif" width="255" height="62" visible="true">
  376.                 <!-- <button id="wLink" left="50" top="25" image="winmedia_text.png" onClick="jscript:player.launchURL('http://www.windowsmedia.com')" cursor="hand" upToolTip="WindowsMedia.com" visible="true"/> -->
  377.             </subview>
  378.  
  379.             <subview zIndex="8" id="winmediaTextCS" left="65" top="235" backgroundImage="c_winmedia_text_cs.gif" width="255" height="62" visible="true">
  380.             </subview>
  381.  
  382.  
  383.     <subview zIndex="18" left="0" top="0" width="398" height="316" >
  384.  
  385.         <button id="cPrev" left="310" top="156" image="c_up_no.gif" hoverImage="c_up_hov.gif" downImage="c_up_do.gif" onClick="contentSwitcher(contentStatus--)" visible="false" upToolTip="Previous"/>
  386.  
  387.         <button id="xLink" left="70" top="245" image="xbox_text.png" hoverImage="xbox_text2.png" onClick="jscript:player.launchURL('http://www.xbox.com')" cursor="hand" upToolTip="XBOX.com" visible="true"/>
  388.         <button id="wLink" left="70" top="247" image="winmedia_link1.png" hoverImage="winmedia_link2.png" onClick="jscript:player.launchURL('http://www.windowsmedia.com/mg/Games.asp')" cursor="hand" upToolTip="WindowsMedia.com Games Guide" visible="false"/>
  389.         <button id="wLink2" left="70" top="247" image="winmedia_link_cs1.png" hoverImage="winmedia_link_cs2.png" onClick="jscript:player.launchURL('http://www.microsoft.com/windows/windowsmedia/coolstuff.asp')" cursor="hand" upToolTip="WindowsMedia Cool Stuff" visible="false"/>
  390.         <button id="cNext" left="310" top="235" image="c_down_no.gif" hoverImage="c_down_hov.gif" downImage="c_down_do.gif" onClick="contentSwitcher(contentStatus++)" visible="true" upToolTip="Next"/>
  391.  
  392.     </subview>
  393.  
  394.     </view>
  395. </theme>
  396.