<?xml version="1.0" encoding="utf-8"?>
<mx:Application name="HDividedBox_dividerSkin_test"
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white"
initialize="init();">
<mx:Script>
<![CDATA[
[Embed("assets/DividedBox.png")]
private const customDividerSkin:Class;
private function init():void {
dividedBox.setStyle("dividerSkin", customDividerSkin);
}
]]>
</mx:Script>
<mx:HDividedBox id="dividedBox"
horizontalGap="24"
width="100%"
height="100%">
<mx:Box id="box1"
backgroundColor="haloGreen"
width="100%"
height="100%"
minWidth="100" />
<mx:Box id="box2"
backgroundColor="haloBlue"
width="100%"
height="100%"
minWidth="100" />
</mx:HDividedBox>
</mx:Application>