<?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>ActionScript | ウダ2Blog</title>
	<atom:link href="https://uda2.com/blog/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>https://uda2.com/blog</link>
	<description>大阪でフリーランスとしてWEB制作している管理人が気になった技術をメモったり、作ったツールの紹介などを綴っているブログです。</description>
	<lastBuildDate>Mon, 29 Jun 2009 00:18:54 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>CS4で携帯の待ち受けFlash</title>
		<link>https://uda2.com/blog/cs4flash/</link>
					<comments>https://uda2.com/blog/cs4flash/#respond</comments>
		
		<dc:creator><![CDATA[uda2]]></dc:creator>
		<pubDate>Mon, 29 Jun 2009 00:18:54 +0000</pubDate>
				<category><![CDATA[制作日記]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[FlashLite]]></category>
		<category><![CDATA[携帯]]></category>
		<guid isPermaLink="false">http://uda2.com/wordpress/2009/06/cs4flash.html</guid>

					<description><![CDATA[<p>CS4になりしばらく使ってみたけど、なんか挙動おかしかったり、不思議な処で重くなったりするが、まあなんとか使える様になってきた。 ただ、Flashは8からすると言語がバージョンアップしただけでなく編集画面も違ってるので何</p>
The post <a href="https://uda2.com/blog/cs4flash/">CS4で携帯の待ち受けFlash</a> first appeared on <a href="https://uda2.com/blog">ウダ2Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="http://uda2.com/blog/upimages/lincoln.swf" target="_blank"><img fetchpriority="high" decoding="async" alt="1104_AdobeDeviceCentral_Snapshot_000001_0.png" src="http://uda2.com/blog/upimages/1104_AdobeDeviceCentral_Snapshot_000001_0-thumb-180x300.png" width="180" height="300" class="mt-image-left" style="float: left; margin: 0 10 10px 0;" /></a>CS4になりしばらく使ってみたけど、なんか挙動おかしかったり、不思議な処で重くなったりするが、まあなんとか使える様になってきた。<br />
ただ、Flashは8からすると言語がバージョンアップしただけでなく編集画面も違ってるので何か作ってみようと携帯のFlashを作る事にした。</p>
<p>内容は「携帯を開いたらドアを開く音がしてリンカーンが出てきて予定を言う」って感じ。<br />
用意したのは<br />
<a href="http://ja.wikipedia.org/wiki/%E3%82%A8%E3%82%A4%E3%83%96%E3%83%A9%E3%83%8F%E3%83%A0%E3%83%BB%E3%83%AA%E3%83%B3%E3%82%AB%E3%83%BC%E3%83%B3" target="_blank">リンカーンの画像</a>とドアが開く音と背景の画像（<a href="http://mymilktoof.blogspot.com/" target="_blank">MY MILK TOOF</a>）。</p>
<p>まずはリンカーンの画像をアウトライン化。<br />
アウトラインにはオンラインで画像をアウトライン化する<a href="http://vectormagic.com/home" target="_blank">Vector Magic</a>を使った。<br />
次に音。これもオンラインで変換できる<a href="http://media-convert.com/convert/" target="_blank">Media Convert</a>でmmfに変換。</p>
<p>リンカーンの動きを付けたいんだけどプロパティにモーショントゥイーンが無くなってる。動きはモーションエディタってのでやるらしい。</p>
<p>スクリプトは携帯なのでFlash lite1.1でActionScript3は使わず古いActionScript1を使う事になる。<br />
予定はゴミを捨てる曜日（お昼まで）に知らせてくれる様にしてみた。</p>
<p>直接携帯でFlashを見ると音がするのに、なぜか壁紙にすると音が消える。こういう仕様なのかもしれない。</p>
<p>ともあれ、出来たがあんまり勉強にならなかった。<br />
素直に付録のチュートリアルをやった方がよかったかも・・・</p>
<p><span id="more-713"></span></p>
<pre><code>day = fscommand2("GetDateDay");
week = fscommand2("GetDateWeekday");
hour = fscommand2("GetTimeHours");
if (hour < 12 and week == 1) {
shuume = int(day/7);
if (shuume == 2 and shuume == 4) {
msg ="普通ゴミ\n紙資源";
} else {
msg ="普通ゴミ";
}
} else if (hour < 12 and week == 4) {
msg ="普通ゴミ";
} else if (hour < 12 and week == 2) {
msg ="プラスティックゴミ";
} else if (hour < 12 and week == 5) {
msg ="カンビン";
} else {
stop();
}
</code></pre>The post <a href="https://uda2.com/blog/cs4flash/">CS4で携帯の待ち受けFlash</a> first appeared on <a href="https://uda2.com/blog">ウダ2Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://uda2.com/blog/cs4flash/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
