<?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>イテルの一日一問 &#187; 移動</title>
	<atom:link href="http://oneday.ter.jp/tag/%e7%a7%bb%e5%8b%95/feed" rel="self" type="application/rss+xml" />
	<link>http://oneday.ter.jp</link>
	<description>一日にひとつは何かを考える。</description>
	<lastBuildDate>Tue, 25 May 2010 00:35:11 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://oneday.ter.jp/tag/%e7%a7%bb%e5%8b%95/feed" />
		<item>
		<title>同じカテゴリ内で移動する</title>
		<link>http://oneday.ter.jp/wordpress/307.html</link>
		<comments>http://oneday.ter.jp/wordpress/307.html#comments</comments>
		<pubDate>Sun, 05 Jul 2009 01:28:37 +0000</pubDate>
		<dc:creator>イテル</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[next_post_link]]></category>
		<category><![CDATA[previous_post_link]]></category>
		<category><![CDATA[カテゴリ]]></category>
		<category><![CDATA[移動]]></category>
		<category><![CDATA[記事]]></category>

		<guid isPermaLink="false">http://oneday.ter.jp/?p=307</guid>
		<description><![CDATA[
wordpressのsingle（記事）表示で、同一カテゴリ内で移動したい場合がある。
その際の書き方。
タグは、previous_post_linkとnext_post_linkを使用する。

&#38;lt;?ph [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-308" title="090705" src="http://oneday.ter.jp/wp-content/uploads/2009/07/0907051-700x200.jpg" alt="090705" width="700" height="200" /></p>
<p>wordpressのsingle（記事）表示で、同一カテゴリ内で移動したい場合がある。</p>
<p>その際の書き方。</p>
<p>タグは、<a href="http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0/previous_post_link" target="_blank">previous_post_link</a>と<a href="http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0/next_post_link" target="_blank">next_post_link</a>を使用する。</p>
<pre class="brush: xml;">
&amp;lt;?php previous_post_link(’前の記事： %link’) ?&amp;gt;
&amp;lt;?php next_post_link(’次の記事： %link’) ?&amp;gt;
</pre>
<p>これを、</p>
<pre class="brush: xml;">
&amp;lt;?php previous_post_link(’前の記事： %link’, ‘%title’, TRUE); ?&amp;gt;
&amp;lt;?php previous_post_link(’次の記事： %link’, ‘%title’, TRUE); ?&amp;gt;
</pre>
<p>と修正すればok。</p>
]]></content:encoded>
			<wfw:commentRss>http://oneday.ter.jp/wordpress/307.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://oneday.ter.jp/wordpress/307.html" />
	</item>
		<item>
		<title>Tweenerでなんか動かす。</title>
		<link>http://oneday.ter.jp/actionscript3/218.html</link>
		<comments>http://oneday.ter.jp/actionscript3/218.html#comments</comments>
		<pubDate>Sat, 27 Jun 2009 13:35:00 +0000</pubDate>
		<dc:creator>イテル</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[tweener]]></category>
		<category><![CDATA[ボタン]]></category>
		<category><![CDATA[移動]]></category>

		<guid isPermaLink="false">http://oneday.ter.jp/?p=218</guid>
		<description><![CDATA[
なんか手抜き調ですが、今日もtweenerで間をつなぐことに。
とりあえず、なんか動かしてみよう。

//tweener読み込み
import caurina.transitions.Tweener;
//ボールの初期 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-236" title="090630" src="http://oneday.ter.jp/wp-content/uploads/2009/06/090630-700x200.jpg" alt="090630" width="700" height="200" /></p>
<p>なんか手抜き調ですが、今日もtweenerで間をつなぐことに。</p>
<p>とりあえず、なんか動かしてみよう。</p>
<pre class="brush: as3;">
//tweener読み込み
import caurina.transitions.Tweener;
//ボールの初期位置
Tweener.addTween( ball_mc , { x:31 , y:31 });

//マウスカーソルを指にする
ball_mc.buttonMode=true;
//イベント登録
ball_mc.addEventListener(MouseEvent.ROLL_OVER,over);
ball_mc.addEventListener(MouseEvent.ROLL_OUT,out);
ball_mc.addEventListener(MouseEvent.CLICK,click);

//マウスオーバーの動き
function over(e:Event):void{
Tweener.addTween( ball_mc , { alpha:0.5 , time:1 });
}
//マウスアウトの動き
function out(e:Event):void{
Tweener.addTween( ball_mc , { alpha:1 , time:1 });
}
function click(e:MouseEvent):void{
Tweener.addTween( ball_mc , { x:31 , y:31 });
Tweener.addTween( ball_mc , { x:280 , y:80 , rotation:360 , time:10 });
}
</pre>
<p>クリックすると、ほら動いた（笑</p>
<p>クリックしたら座標x280、座標y80に一回点しながら、10秒かけて移動しろって意味。</p>
<p>単純な移動なら楽チン。</p>
<p><object type="application/x-shockwave-flash" style="width:350px;height:125px" data="http://oneday.ter.jp/swf_data/0906/090627/ball3.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://oneday.ter.jp/swf_data/0906/090627/ball3.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>
<p>※手抜き投稿って言わないで。</p>
]]></content:encoded>
			<wfw:commentRss>http://oneday.ter.jp/actionscript3/218.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://oneday.ter.jp/actionscript3/218.html" />
	</item>
	</channel>
</rss>
