<?xml version="1.0" encoding="utf-8" ?>
<Layout x="0" y="0" width="1024" height="768" animate="EfxPopup">

    <BkgImage name="promo_background_image" image="ad_dd_bkg.png">
    </BkgImage>
    <Image name="promo_logo_image" anchor="CH" image="ad_dd_logo.png" width="1024" height="731" content_mode="AspectFit"/>

    <!-- <Text name="message" x="25" y="305" width="260" height="40" font="medium" align="C" text="The power of creation is in your hands! In this addictive, ALL ages, puzzle game!" color="FF000000" /> -->
    <Text name="message" x="20" y="640" width="500" height="40" font="medium" align="C" text="The power of creation is in your hands! In this addictive, ALL ages, puzzle game!" color="FFFFFFFF" />


    <AnimController autoPlay="1">
        <ActionChain>
         <EfxWait delay="1"/>
         <EfxSendCmd handler="shake_1" cmd="play"/>
     </ActionChain>
 </AnimController>

 <Button name="btn" x="568" y="588" scale="0.75" image="ad_button_ios.png" create_if="($device.getPlatform @ IPHONE) | ($device.getPlatform @ IPAD)">
    <AnimController autoPlay="0" handler="shake_1">
        <ActionChain>
            <EfxScaleXY duration="0.5" from_x="0.75" from_y="0.75" to_x="0.65" to_y="0.65" modifier="bounce"/>
            <EfxScaleXY duration="0.2" from_x="0.65" from_y="0.65" to_x="0.75" to_y="0.75"/>
            <EfxSendCmd handler="shake_2" cmd="play"/>
        </ActionChain>
    </AnimController>

    <AnimController autoPlay="0" handler="shake_2">
        <ActionChain>
            <EfxWait delay="3.0"/>
            <EfxSendCmd handler="shake_1" cmd="play"/>
        </ActionChain>
    </AnimController>
</Button>

<Button name="btn" x="517" y="560" image="ad_button_android.png" create_if="$device.getPlatform @ ANDROID">
    <AnimController autoPlay="0" handler="shake_1">
        <ActionChain>
            <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
            <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
            <EfxSendCmd handler="shake_2" cmd="play"/>
        </ActionChain>
    </AnimController>

    <AnimController autoPlay="0" handler="shake_2">
        <ActionChain>
            <EfxWait delay="3.0"/>
            <EfxSendCmd handler="shake_1" cmd="play"/>
        </ActionChain>
    </AnimController>
</Button>

<Button name="btn" x="520" y="597" image="ad_button_win8.png" create_if="$device.getPlatform @ WIN8">
    <AnimController autoPlay="0" handler="shake_1">
        <ActionChain>
            <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
            <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
            <EfxSendCmd handler="shake_2" cmd="play"/>
        </ActionChain>
    </AnimController>

    <AnimController autoPlay="0" handler="shake_2">
        <ActionChain>
            <EfxWait delay="3.0"/>
            <EfxSendCmd handler="shake_1" cmd="play"/>
        </ActionChain>
    </AnimController>
</Button>

<Button name="btn" x="520" y="600" image="ad_button_wp8.png" create_if="$device.getPlatform @ WP8">
    <AnimController autoPlay="0" handler="shake_1">
        <ActionChain>
            <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
            <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
            <EfxSendCmd handler="shake_2" cmd="play"/>
        </ActionChain>
    </AnimController>

    <AnimController autoPlay="0" handler="shake_2">
        <ActionChain>
            <EfxWait delay="3.0"/>
            <EfxSendCmd handler="shake_1" cmd="play"/>
        </ActionChain>
    </AnimController>
</Button>

<Button name="btn" x="560" y="512" image="ad_button.png" create_if="($device.getPlatform !@ IPHONE) * ($device.getPlatform !@ IPAD) * ($device.getPlatform !@ WIN8) * ($device.getPlatform !@ WP8) * ($device.getPlatform !@ ANDROID)">
    <Text name="text" x="100" y="100" width="200" height="48" font="medium" align="C" text="MESSAGEBOX_DOWNLOAD" color="FF000000" />
    <Text name="text" x="99" y="99" width="200" height="48" font="medium" align="C" text="MESSAGEBOX_DOWNLOAD" color="FFFFFFFF" />

    <AnimController autoPlay="0" handler="shake_1">
        <ActionChain>
            <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
            <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
            <EfxSendCmd handler="shake_2" cmd="play"/>
        </ActionChain>
    </AnimController>

    <AnimController autoPlay="0" handler="shake_2">
        <ActionChain>
            <EfxWait delay="3.0"/>
            <EfxSendCmd handler="shake_1" cmd="play"/>
        </ActionChain>
    </AnimController>
</Button>

<Button name="middle" x="0" y="0" width="1024" height="768">

</Button>

<Button name="close" x="928" y="0" width="96" height="96">
    <Image image="ad_close.png" anchor="C"/>
</Button>


</Layout>

