<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   extraGadgets.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

//      Copyright (c) 2006 AOL LLC.  All rights reserved.
//      This software contains valuable confidential and proprietary
//      information of AOL LLC. and is subject to applicable
//      licensing agreements.  Unauthorized reproduction, transmission or
//      distribution of this file and its contents is a violation of
//      applicable laws.
//
//            A O L   C O N F I D E N T I A L

****************************************************************************
-->


<?boxely version="1.0"?>

<!DOCTYPE window SYSTEM "box://aimToolkit/resources/localization.dtd">



<?import href="box://aimToolkit/content/core/coreGadgets.box"?>

<?import href="box://aimToolkit/content/styles.box"?>
<?import href="box://aimToolkit/content/behaviors.box"?>

<library xmlns="http://www.aol.com/boxely/resource.xsd"
         xmlns:box="http://www.aol.com/boxely/box.xsd"
         xmlns:s="http://www.aol.com/boxely/style.xsd"
         xmlns:on="http://www.aol.com/boxely/reaction.xsd"
         persists="true">




    <gadget id="aolExplodingImageButton" type="control"  language="jscript" code="box://aimToolkit/content/extrasPack/aolExplodingImageButton.js">
        <parts>
            <box:box id="iconbox">
                <box:image id="icon">
                    <box:binding elementSource="_gadget" targetProperty="src" path="icon" method="twoWay"/>
                </box:image>
                <box:box id="explodingBox" hidden="true" position="fixed">
                    <box:image id="explodingIcon">
                        <box:binding elementSource="_gadget" targetProperty="src" path="icon" method="twoWay"/>
                    </box:image>
                </box:box>
            </box:box>
        </parts>
        <behavior inherits="box://aimToolkit/content/behaviors.box#commandable">
            <reaction event="command" action="gadget:explode();"/>
        </behavior>
    </gadget>


</library>