<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE asul SYSTEM "http://www.megazine3.de/asul.dtd">
<asul>
<style>
<![CDATA[
scrollbar > button > box { background: image(files/gui/search/btn_scroll_handle.png); width: 15; height: 15; }
scrollbar > button > box.over { background: image(files/gui/search/btn_scroll_handle1.png); }
.boxitem{background:gradient(linear-vertical,0x888888,0xFFFFFF);filter:dropshadow(2,45,0x000000,1,3,3,0.5,2)}
button.btn_search > box {background: image(files/assets/skin/btnsearch_up.png); width:24; height:25; anchors:(pw-w)/2,(ph-h)/2;}
button.btn_search > box.down { background: image(files/assets/skin/btnsearch_down.png); width:24; height:25; anchors:(pw-w)/2,(ph-h)/2;}
button.btn_search > box.over { background: image(files/assets/skin/btnsearch_hot.png); width:24; height:25; anchors:(pw-w)/2,(ph-h)/2;}
]]>
</style>
<script><![CDATA[
import flash.display.StageDisplayState;
import flash.events.FullScreenEvent;
// Search input box added, remember it.
var searchbox;
function searchadded(box) {
searchbox = box;
addListener(searchbox.stage, FullScreenEvent.FULL_SCREEN, fullscreenchanged);
}
// Fullscreen state changed, update visibility of search field.
function fullscreenchanged() {
if (searchbox) searchbox.visible = searchbox.stage.displayState != StageDisplayState.FULL_SCREEN;
}
]]></script>
<!-- Container for displaying search results. Will be shown after a search was triggered. -->
<box id="container" anchors="0, 80, 270, ph-75" background="image(files/assets/skin/window/leftbox.png)" scale9grid="8,45,9,47">
<box anchors="4,0,pw-4,40" id="top">
<box anchors="3,6" width="24" height="25" background="image(files/assets/skin/window/search.png)" />
<text name="title" anchors="35,8" value="localize(LNG_SEARCH_TITLE, Search)" style="title" />
<button onclick="megazine.go_search()" anchors="pw-w, 5" width="24" height="24" style="btn_close"/>
</box>
<box anchors="0,40,pw,80">
<box anchors="25, 15, pw-55, 35" style="input">
<text font="Verdana, Helvetica, Arial, _sans" name="txt_search_inner" value=""/>
</box>
<button anchors="pw-45, 15" width="24" height="25" name="btn_search_inner" style="common btn_search"/>
</box>
<box name="contents" anchors="0,70,pw,ph">
<scrollpane anchors="0,26,pw,ph" name="scrollpane" mousewheel="y" resize="true" align="top">
<box name="$viewport$" resize="true">
<vflow name="results" itemintop="true"/>
</box>
<scrollbar anchors="pw-17,0,pw,ph-2" background="image(files/assets/skin/window/scrollbar/scrollBar_track.png)" scale9grid="1,8,16,20" name="$scroll_y$" orientation="vertical">
<button name="$btn_reduce$" anchors="0,0,17,pw">
<box name="$up$" anchors="0,0,pw,ph" background="image(files/assets/skin/window/scrollbar/upArrow_up.png)"/>
<box name="$over$" anchors="0,0,pw,ph" background="image(files/assets/skin/window/scrollbar/upArrow_hot.png)"/>
<box name="$down$" anchors="0,0,pw,ph" background="image(files/assets/skin/window/scrollbar/upArrow_down.png)"/>
</button>
<button name="$btn_increase$" anchors="pw-17,ph-17,pw,ph">
<box name="$up$" anchors="0,0,pw,ph" background="image(files/assets/skin/window/scrollbar/downArrow_up.png)"/>
<box name="$over$" anchors="0,0,pw,ph" background="image(files/assets/skin/window/scrollbar/downArrow_hot.png)"/>
<box name="$down$" anchors="0,0,pw,ph" background="image(files/assets/skin/window/scrollbar/downArrow_down.png)"/>
</button>
<button width="17" height="80" name="$scroll_handle$">
<box name="$up$" anchors="(pw-w)/2,0,pw,ph" width="13" scale9grid="9,19,10,20" background="image(files/assets/skin/window/scrollbar/scrollBar_thumb_up.png)"/>
<box name="$over$" anchors="(pw-w)/2,0,pw,ph" width="13" scale9grid="9,19,10,20" background="image(files/assets/skin/window/scrollbar/scrollBar_thumb_hot.png)"/>
<box name="$down$" anchors="(pw-w)/2,0,pw,ph" width="13" scale9grid="9,19,10,20" background="image(files/assets/skin/window/scrollbar/scrollBar_thumb_down.png)"/>
</button>
</scrollbar>
</scrollpane>
</box>
</box>
<button width="270" height="90" id="content" buttonmode="false">
<box name="$up$" anchors="10, 8, pw-25, ph" background="color(0x5AB8BFDB)"/>
<box name="$over$" anchors="10, 8, pw-25, ph" background="color(0x5A8D95AD)"/>
<box name="$down$" anchors="10, 8, pw-25, ph" background="color(0x5A8D95AD)"/>
<box anchors="10, 8, pw-25, ph" buttonmode="true" mouseenabled="true">
<box anchors="5, 0" width="70" height="70" name="thumb"/>
<text anchors="70,1,pw-10" name="information" style="info title" color="0"/>
<text anchors="70,20,pw-10,ph" multiline="true" name="excerpt" style="info" wordwrap="true" color="0"/>
</box>
</button>
</asul>