<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>Labrid WP &#187; flash</title>
	<atom:link href="http://labrid.jp/wp/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://labrid.jp/wp</link>
	<description>Wordpress 検証・実験サイト on Wordpress</description>
	<lastBuildDate>Fri, 27 Jan 2012 04:37:39 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://labrid.jp/wp/tag/flash/feed/" />
		<item>
		<title>[flash] 汎用ナビゲーションボタンの動作をActionScriptで実現する</title>
		<link>http://labrid.jp/wp/archives/888/</link>
		<comments>http://labrid.jp/wp/archives/888/#comments</comments>
		<pubDate>Thu, 14 May 2009 10:38:37 +0000</pubDate>
		<dc:creator>YAMADA</dc:creator>
				<category><![CDATA[技術メモ]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[メモ]]></category>

		<guid isPermaLink="false">http://labrid.jp/wp/?p=888</guid>
		<description><![CDATA[ボタンにマウスオーバーで状態1に変わる。 ボタンクリックでさらに別の状態2に変わる。 （状態2では、マウスオーバーで変化しない） 別のボタンクリックで、初期状態に戻る。 という、よくあるナビゲーションボタン用のActio]]></description>
			<content:encoded><![CDATA[<p>ボタンにマウスオーバーで状態1に変わる。<br />
ボタンクリックでさらに別の状態2に変わる。<br />
（状態2では、マウスオーバーで変化しない）<br />
別のボタンクリックで、初期状態に戻る。<br />
<span id="more-888"></span></p>
<p>という、よくあるナビゲーションボタン用のActionScript(2.0)。</p>
<p>ボタン用ムービークリップを作成し、各フレームを以下のように設定。<br />
フレーム1：初期状態（stop();）<br />
フレーム2：状態1<br />
フレーム3：状態2</p>
<p>ボタンMCに以下のASを記述。</p>
<pre><code>on (rollOver) {
if (_root.iName1 != this) {
this.gotoAndStop(2);
}
}
on (press) {
if (_root.iName1 != this) {
this.gotoAndStop(3);
_root.iName1.gotoAndStop(1);
_root.iName1 = this;
}
}
on (rollOut, dragOut) {
if (_root.iName1 != this) {
this.gotoAndStop(1);
}
}</code></pre>
<p>以上、覚え書き。</p>
]]></content:encoded>
			<wfw:commentRss>http://labrid.jp/wp/archives/888/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://labrid.jp/wp/archives/888/" />
	</item>
	</channel>
</rss>

