<?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; Accordion</title>
	<atom:link href="http://blog.desizen.com/TAG/accordion/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例子之Accordion(折叠式面板)</title>
		<link>http://blog.desizen.com/4lone/593.html</link>
		<comments>http://blog.desizen.com/4lone/593.html#comments</comments>
		<pubDate>Tue, 10 Mar 2009 05:55:03 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[FLEX]]></category>
		<category><![CDATA[Accordion]]></category>
		<category><![CDATA[TourDeFlex]]></category>
		<category><![CDATA[例子]]></category>

		<guid isPermaLink="false">http://www.joelove.cn/?p=593</guid>
		<description><![CDATA[这个例子进行的是Tourdeflex:Containers:Accordion 简介: An Accordion navigator container has a collection of child containers, but only one of them at a time is visible. 到这篇日志为止,ui controls的常用flex组件基本都了解了个大概了,以后就进行其他的. 例子: &#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; horizontalAlign=&#34;center&#34; backgroundGradientColors=&#34;[0x000000,0x323232]&#34; paddingTop=&#34;0&#34; viewSourceURL=&#34;srcview/index.html&#34;&#62; &#160; &#60;mx:Panel title=&#34;Accordion Container&#34; layout=&#34;vertical&#34; color=&#34;0xffffff&#34; borderAlpha=&#34;0.15&#34; width=&#34;500&#34; height=&#34;246&#34; paddingTop=&#34;2&#34; paddingRight=&#34;10&#34; paddingBottom=&#34;10&#34; paddingLeft=&#34;10&#34; horizontalAlign=&#34;center&#34;&#62; &#160; &#60;mx:Label width=&#34;100%&#34; color=&#34;0x323232&#34; text=&#34;Select [...]]]></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/accordion" class="st_tag internal_tag" rel="tag" title="Posts tagged with Accordion">Accordion</a><br />
简介:<br />
An <a href="http://blog.desizen.com/TAG/accordion" class="st_tag internal_tag" rel="tag" title="Posts tagged with Accordion">Accordion</a> navigator container has a collection of child containers, but only one of them at a time is visible.<br />
到这篇日志为止,ui controls的常用<a href="http://blog.desizen.com/TAG/flex" class="st_tag internal_tag" rel="tag" title="Posts tagged with FLEX">flex</a>组件基本都了解了个大概了,以后就进行其他的.<br />
例子:</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;Accordion 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;246&quot;</span></span>
<span style="color: #000000;">         paddingTop=<span style="color: #ff0000;">&quot;2&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:Label</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span></span>
<span style="color: #000000;">            text=<span style="color: #ff0000;">&quot;Select an Accordion navigator button to change the panel.&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Accordion</span> id=<span style="color: #ff0000;">&quot;accorion&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</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>
            <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- Define each panel using a VBox container. --&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Accordion Button for Panel 1&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;Accordion container panel 1&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:VBox</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Accordion Button for Panel 2&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;Accordion container panel 2&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:VBox</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Accordion Button for Panel 3&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;Accordion container panel 3&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:VBox</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Accordion</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span></span>
<span style="color: #000000;">            text=<span style="color: #ff0000;">&quot;Programmatically select the panel using a Button control.&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:HBox</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Select Panel 1&quot;</span> click=<span style="color: #ff0000;">&quot;accorion.selectedIndex=0;&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Select Panel 2&quot;</span> click=<span style="color: #ff0000;">&quot;accorion.selectedIndex=1;&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Select Panel 3&quot;</span> click=<span style="color: #ff0000;">&quot;accorion.selectedIndex=2;&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:HBox</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/accordion" title="Accordion" rel="tag">Accordion</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/51.html" title="FLEX 4 Api (2008年8月18日)">FLEX 4 Api</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>
	<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/553.html" title="FLEX例子之滑动块(Slider) (2009年3月5日)">FLEX例子之滑动块(Slider)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/285.html" title="FLEX例子之日期弹出选择框(DateField) (2008年12月26日)">FLEX例子之日期弹出选择框(DateField)</a> (2)</li>
	<li><a href="http://blog.desizen.com/4lone/676.html" title="TourDeFlex又更新了 (2009年4月17日)">TourDeFlex又更新了</a> (2)</li>
	<li><a href="http://blog.desizen.com/4lone/303.html" title="FLEX例子之单项选择按钮(RadioButton) (2008年12月30日)">FLEX例子之单项选择按钮(RadioButton)</a> (2)</li>
	<li><a href="http://blog.desizen.com/4lone/403.html" title="FLEX例子之切换按钮条(ToggleButtonBar) (2009年1月14日)">FLEX例子之切换按钮条(ToggleButtonBar)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/59.html" title="flex登陆框实例 (2008年8月25日)">flex登陆框实例</a> (3)</li>
	<li><a href="http://blog.desizen.com/4lone/595.html" title="Flex BugQuash (2009年3月11日)">Flex BugQuash</a> (0)</li>
</ul>

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

