<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>joel&#039;s FLEX blog &#187; DividedBox</title>
	<atom:link href="http://blog.desizen.com/TAG/dividedbox/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.desizen.com</link>
	<description>FLEX,网络安全,Linux</description>
	<lastBuildDate>Fri, 13 May 2011 02:18:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>FLEX例子 &#8211; DividedBox(分割盒子)</title>
		<link>http://blog.desizen.com/4lone/644.html</link>
		<comments>http://blog.desizen.com/4lone/644.html#comments</comments>
		<pubDate>Thu, 02 Apr 2009 03:27:32 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[FLEX]]></category>
		<category><![CDATA[DividedBox]]></category>
		<category><![CDATA[TourDeFlex]]></category>
		<category><![CDATA[例子]]></category>

		<guid isPermaLink="false">http://www.joelove.cn/?p=644</guid>
		<description><![CDATA[这个例子进行的是Tourdeflex:Containers:DividedBox 简介: 此文包括了两个部分:HDividedBox和VDividedBox.一个是横向,一个是纵向. A DividedBox container measures and lays out its children horizontally or vertically in exactly the same way as a Box container, but it inserts draggable dividers in the gaps between the children. Users can drag any divider to resize the children on each side. HDividedBox: &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; layout=&#34;vertical&#34; verticalAlign=&#34;top&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>这个例子进行的是<a href="http://blog.desizen.com/TAG/tourdeflex" class="st_tag internal_tag" rel="tag" title="Posts tagged with TourDeFlex">Tourdeflex</a>:Containers:<a href="http://blog.desizen.com/TAG/dividedbox" class="st_tag internal_tag" rel="tag" title="Posts tagged with DividedBox">DividedBox</a><br />
简介:<br />
此文包括了两个部分:HDividedBox和VDividedBox.一个是横向,一个是纵向.</p>
<blockquote><p>A <a href="http://blog.desizen.com/TAG/dividedbox" class="st_tag internal_tag" rel="tag" title="Posts tagged with DividedBox">DividedBox</a> container measures and lays out its children horizontally or vertically in exactly the same way as a Box container, but it inserts draggable dividers in the gaps between the children. Users can drag any divider to resize the children on each side.</p></blockquote>
<p>HDividedBox:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</span> verticalAlign=<span style="color: #ff0000;">&quot;top&quot;</span></span>
<span style="color: #000000;">    horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span> backgroundGradientColors=<span style="color: #ff0000;">&quot;[0x000000,0x323232]&quot;</span> paddingTop=<span style="color: #ff0000;">&quot;0&quot;</span> viewSourceURL=<span style="color: #ff0000;">&quot;srcview/index.html&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Panel</span> title=<span style="color: #ff0000;">&quot;HDividedBox Container&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</span> color=<span style="color: #ff0000;">&quot;0xffffff&quot;</span> borderAlpha=<span style="color: #ff0000;">&quot;0.15&quot;</span> width=<span style="color: #ff0000;">&quot;500&quot;</span> height=<span style="color: #ff0000;">&quot;240&quot;</span></span>
<span style="color: #000000;">         paddingTop=<span style="color: #ff0000;">&quot;10&quot;</span> paddingRight=<span style="color: #ff0000;">&quot;10&quot;</span> paddingBottom=<span style="color: #ff0000;">&quot;10&quot;</span> paddingLeft=<span style="color: #ff0000;">&quot;10&quot;</span> horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
         <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Text</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span></span>
<span style="color: #000000;">            text=<span style="color: #ff0000;">&quot;Drag the divider side to side to resize the children.&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:HDividedBox</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Canvas</span> label=<span style="color: #ff0000;">&quot;Canvas 1&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span> backgroundColor=<span style="color: #ff0000;">&quot;#ACACAC&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;Add components here&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;bold&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Canvas</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Canvas</span> label=<span style="color: #ff0000;">&quot;Canvas 2&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span> backgroundColor=<span style="color: #ff0000;">&quot;#323232&quot;</span> <span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;Add components here&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;bold&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Canvas</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:HDividedBox</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Panel</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>VDividedBox:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</span> verticalAlign=<span style="color: #ff0000;">&quot;top&quot;</span></span>
<span style="color: #000000;">    horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span> backgroundGradientColors=<span style="color: #ff0000;">&quot;[0x000000,0x323232]&quot;</span> paddingTop=<span style="color: #ff0000;">&quot;0&quot;</span> viewSourceURL=<span style="color: #ff0000;">&quot;srcview/index.html&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Panel</span> title=<span style="color: #ff0000;">&quot;VDividedBox Container&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</span> color=<span style="color: #ff0000;">&quot;0xffffff&quot;</span> borderAlpha=<span style="color: #ff0000;">&quot;0.15&quot;</span> width=<span style="color: #ff0000;">&quot;500&quot;</span> height=<span style="color: #ff0000;">&quot;240&quot;</span></span>
<span style="color: #000000;">         paddingTop=<span style="color: #ff0000;">&quot;10&quot;</span> paddingRight=<span style="color: #ff0000;">&quot;10&quot;</span> paddingBottom=<span style="color: #ff0000;">&quot;10&quot;</span> paddingLeft=<span style="color: #ff0000;">&quot;10&quot;</span> horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
         <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Text</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span></span>
<span style="color: #000000;">            text=<span style="color: #ff0000;">&quot;Drag the divider up and down to resize the children.&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VDividedBox</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Canvas</span> label=<span style="color: #ff0000;">&quot;Canvas 1&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span> backgroundColor=<span style="color: #ff0000;">&quot;#ACACAC&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;Add components here&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;bold&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Canvas</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Canvas</span> label=<span style="color: #ff0000;">&quot;Canvas 2&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span> backgroundColor=<span style="color: #ff0000;">&quot;#323232&quot;</span> <span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;Add components here&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;bold&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Canvas</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:VDividedBox</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Panel</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>


	标签：<a href="http://blog.desizen.com/TAG/dividedbox" title="DividedBox" rel="tag">DividedBox</a>, <a href="http://blog.desizen.com/TAG/flex" title="FLEX" rel="tag">FLEX</a>, <a href="http://blog.desizen.com/TAG/tourdeflex" title="TourDeFlex" rel="tag">TourDeFlex</a>, <a href="http://blog.desizen.com/TAG/%e4%be%8b%e5%ad%90" title="例子" rel="tag">例子</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://blog.desizen.com/4lone/682.html" title="學長幫我修電腦,诺顿够创意 (2009年4月20日)">學長幫我修電腦,诺顿够创意</a> (1)</li>
	<li><a href="http://blog.desizen.com/4lone/199.html" title="KingCMS之模块管理 (2008年10月27日)">KingCMS之模块管理</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/533.html" title="FLEX例子之并列列表(TileList) (2009年2月25日)">FLEX例子之并列列表(TileList)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/551.html" title="FLEX例子之颜色拾取器(ColorPicker) (2009年3月4日)">FLEX例子之颜色拾取器(ColorPicker)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/695.html" title="tourdeflex &#8211; 好久没有学习了 (2009年4月28日)">tourdeflex &#8211; 好久没有学习了</a> (2)</li>
	<li><a href="http://blog.desizen.com/4lone/392.html" title="贴近站长的FLEX应用案例 (2009年1月14日)">贴近站长的FLEX应用案例</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/542.html" title="FLEX例子之树形菜单(Tree) (2009年2月25日)">FLEX例子之树形菜单(Tree)</a> (2)</li>
	<li><a href="http://blog.desizen.com/4lone/48.html" title="flex 入门教程 (2008年8月18日)">flex 入门教程</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/39.html" title="FLEX BUILDER 3 (2008年8月14日)">FLEX BUILDER 3</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/586.html" title="FLEX例子 &#8211; SWFloader(SWF加载器) (2009年3月10日)">FLEX例子 &#8211; SWFloader(SWF加载器)</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://blog.desizen.com/4lone/644.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

