<?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>株式会社インターオフィス &#187; Flex</title>
	<atom:link href="http://www.inter-office.co.jp/contents/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.inter-office.co.jp</link>
	<description>ecサイト&#124;eコマース&#124;パッケージ&#124;アクセス解析&#124;広告効果測定&#124;Webマーケティング構築・開発</description>
	<lastBuildDate>Tue, 18 May 2010 06:53:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>All Close Accordion</title>
		<link>http://www.inter-office.co.jp/contents/105/</link>
		<comments>http://www.inter-office.co.jp/contents/105/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 03:44:07 +0000</pubDate>
		<dc:creator>kajiwara</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Webサイト開発日記]]></category>

		<guid isPermaLink="false">http://192.168.1.223/?p=292</guid>
		<description><![CDATA[Accordionを使った事のある人なら一度は考えた事があるかも知れません。
全てのヘッダを閉じるAccordionです。
Accordionでは、いずれかのヘッダが必ず選択されている状態になり、全てを閉じる事は出来ません。
以下のサンプルではAccordionを継承したカスタムクラスにて、全てのヘッダが閉じている様に見える状態を擬似的に作り出しています。
AccordionCustom.as
PLAIN TEXT
CODE:




package io.mx.containers &#123;


&#160;


import flash.events.TimerEvent;


import flash.events.Event;


import flash.events.MouseEvent;


import flash.utils.Timer;


import mx.core.Container;


import mx.core.IDataRenderer;


import mx.containers.Accordion;


import mx.containers.accordionClasses.AccordionHeader;


import mx.containers.Canvas;


import mx.controls.Button;


import mx.events.ChildExistenceChangedEvent;


import mx.events.EffectEvent;


import mx.events.IndexChangedEvent;


import mx.effects.Move;


&#160;


public class AccordionCustom extends Accordion &#123;


&#160;


private var indexChanged:Boolean = false;


private var csSelectIndex:int = 0;


private var dummyHeader:Boolean = false;


&#160;


function AccordionCustom&#40;&#41;:void &#123;


super&#40;&#41;;


&#160;


addEventListener&#40;MouseEvent.CLICK, clickHandler&#41;;


addEventListener&#40;IndexChangedEvent.CHANGE, headerChangeHandler&#41;;


&#160;


&#125;


&#160;


private function clickHandler&#40;event:Event&#41;:void &#123;


if &#40;event.target is AccordionHeader&#41; &#123;


if &#40;&#40;csSelectIndex == super.selectedIndex&#41; &#38;amp;&#38;amp; ! indexChanged&#41; &#123;


allClose&#40;&#41;;


&#125;


&#125;


&#160;


indexChanged = false;


&#125;


&#160;


private [...]]]></description>
		<wfw:commentRss>http://www.inter-office.co.jp/contents/105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlexがMPMでオープンソースに</title>
		<link>http://www.inter-office.co.jp/contents/50/</link>
		<comments>http://www.inter-office.co.jp/contents/50/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 03:17:59 +0000</pubDate>
		<dc:creator>kajiwara</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Webサイト開発日記]]></category>

		<guid isPermaLink="false">http://192.168.1.223/?p=232</guid>
		<description><![CDATA[FlexがMozilla Public Licenseでオープンソースになるそうです。

プレスリリース


 関連記事 

Flexは会社でも先日プロジェクトで利用したばかり。
サーバーサイドはaxis2を利用してWe [...]]]></description>
		<wfw:commentRss>http://www.inter-office.co.jp/contents/50/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
