<?xml version="1.0" encoding="utf-8"?>

<!--

    ADOBE SYSTEMS INCORPORATED
    Copyright 2008 Adobe Systems Incorporated
    All Rights Reserved.

    NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the license agreement accompanying it.

-->

<!--- The default skin class for the fullScreen button of a Spark VideoPlayer 
      component while in one of the <code>fullScreen</code> skin states.  

      @see spark.components.VideoPlayer
        
      @langversion 3.0
      @playerversion Flash 10
      @playerversion AIR 1.5
      @productversion Flex 4
-->
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"  
      alpha.disabled="0.5">

    <!-- host component -->
    <fx:Metadata>
        /** 
         * @copy spark.skins.spark.ApplicationSkin#hostComponent
         */
        [HostComponent("spark.components.Button")]
    </fx:Metadata>
    
    <!-- states -->
    <s:states>
        <s:State name="up" />
        <s:State name="over" />
        <s:State name="down" />
        <s:State name="disabled"/>
    </s:states>
        
    <!-- layer 1: fill -->
    <s:Rect left="1" right="1" top="1" bottom="1">
        <s:fill>
            <s:LinearGradient rotation="90">
                <s:GradientEntry color="0x585858"
                                 color.over="0x676767"
                                 color.down="0x2C2C2C"
                                 alpha="0.55" />
                <s:GradientEntry color="0x1E1E1E"
                                 color.over="0x363636" 
                                 color.down="0x585858"
                                 alpha="0.55" />
            </s:LinearGradient>
        </s:fill>
    </s:Rect>
    
    <!-- layer 2: One pixel stroke inside border -->
    <s:Rect left="1" right="1" top="1" bottom="1">
        <s:stroke>
            <s:LinearGradientStroke weight="1" rotation="90">
                <s:GradientEntry color="0xFFFFFF" alpha="0.12" />
                <s:GradientEntry color="0xFFFFFF" alpha="0.09" />
            </s:LinearGradientStroke>
        </s:stroke>
    </s:Rect>
    
    <!-- layer 3: border - put on top of the fill so it doesn't disappear when scale is less than 1 -->
    <s:Rect left="0" right="0" top="0" bottom="0" width="38" height="24">
        <s:stroke>
            <s:SolidColorStroke color="0x222222" alpha="0.66" />
        </s:stroke>
    </s:Rect>
    
    <!--- Defines the full-screen symbol. -->
    <s:Group horizontalCenter="0" verticalCenter="-1" id="fullScreenSymbol">
        <!-- size of area so left, right, bottom, top work well -->
        <s:Rect left="0" top="0" width="26" height="17">
            <s:fill>
                <s:SolidColor alpha="0" />
            </s:fill>
        </s:Rect>
    
        <!-- background for big rectangle -->
        <s:Rect left="5" top="3" right="5" bottom="3">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".8"/>
            </s:fill>
        </s:Rect>
        <!-- dropshadow -->
        <s:Rect bottom="2" left="5" right="5" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".8"/>
            </s:fill>
        </s:Rect>
        
        <!-- inside rect1 -->
        <s:Rect left="6" top="4" right="6" bottom="4">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".6"/>
            </s:fill>
        </s:Rect>
        
        <!-- inside rect2 -->
        <s:Rect left="7" top="5" right="7" bottom="5">
            <s:fill>
                <s:SolidColor color="0x333333" alpha=".6"/>
            </s:fill>
        </s:Rect>
        
        <!-- top-left -->
        <!-- dropshadow -->
        <s:Rect left="0" top="3" width="3" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <!-- <s:Rect left="2" top="1" width="1" height="2">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect> -->
        <!-- symbol -->
        <s:Rect left="0" top="2" width="3" height="1">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <s:Rect left="2" top="0" width="1" height="2">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        
        <!-- top-right -->
        <!-- dropshadow -->
        <s:Rect right="0" top="3" width="3" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <!-- <s:Rect right="2" top="1" width="1" height="2">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect> -->
        <!-- symbol -->
        <s:Rect right="0" top="2" width="3" height="1">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <s:Rect right="2" top="0" width="1" height="2">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        
        <!-- bottom-left -->
        <!-- dropshadow -->
        <s:Rect left="0" bottom="2" width="2" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <s:Rect left="2" bottom="0" width="1" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <!-- symbol -->
        <s:Rect left="0" bottom="3" width="3" height="1">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <s:Rect left="2" bottom="1" width="1" height="2">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        
        <!-- bottom-right -->
        <!-- dropshadow -->
        <s:Rect right="0" bottom="2" width="2" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <s:Rect right="2" bottom="0" width="1" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <!-- symbol -->
        <s:Rect right="0" bottom="3" width="3" height="1">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <s:Rect right="2" bottom="1" width="1" height="2">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        
        <!-- bar down below -->
        <s:Rect left="10" bottom="1" right="10" height="1">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha=".75"/>
            </s:fill>
        </s:Rect>
        <!-- dropshadow -->
        <s:Rect left="10" bottom="0" right="10" height="1">
            <s:fill>
                <s:SolidColor color="0x000000" alpha=".8"/>
            </s:fill>
        </s:Rect>
    </s:Group>
    
</s:Skin>