<?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>field-mount blog &#187; flash as2.0</title>
	<atom:link href="http://wp.field-mount.com/?cat=5&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://wp.field-mount.com</link>
	<description>グラタンとラザニアとチンジャオロースーが好きです。ワタクシ。</description>
	<lastBuildDate>Fri, 26 Feb 2010 10:25:25 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>外部FLVを読み込んで再生 その3 [バッファ設定]</title>
		<link>http://wp.field-mount.com/?p=10</link>
		<comments>http://wp.field-mount.com/?p=10#comments</comments>
		<pubDate>Thu, 26 Jun 2008 04:10:22 +0000</pubDate>
		<dc:creator>TETSU</dc:creator>
				<category><![CDATA[flash as2.0]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://wp.field-mount.com/?p=10</guid>
		<description><![CDATA[前回の記事のものにバッファを設定しました。 至って簡単です。 前回のflaファイルのrootの1フレーム目に var netConn = new NetConnection(); // コネクションを作成 this.ne [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wp.field-mount.com/?p=9">前回の記事</a>のものにバッファを設定しました。</p>
<p>至って簡単です。</p>
<p>前回のflaファイルのrootの1フレーム目に<br />
<code>var netConn = new NetConnection(); // コネクションを作成<br />
this.netConn.connect( null ); // ローカルファイル用コネクションを作成<br />
var netStream = new NetStream (netConn); // ネットストリームオブジェクトを作成<br />
<span style="color: #ff6600;">this.netStream.setBufferTime(5); //ネットストリームオブジェクトにバッファを設定（引数は秒数）</span><br />
my_video.attachVideo(this.netStream); //ネットストリームオブジェクトをビデオに関連づける<br />
netStream.play ("test.flv");<br />
this.myPlay_mc.onRelease = function():Void{<br />
netStream.pause(false);<br />
}<br />
this.myPause_mc.onRelease = function():Void{<br />
netStream.pause(true);<br />
}<br />
this.myBack_mc.onRelease = function():Void{<br />
netStream.seek(0);<br />
netStream.pause(true);<br />
}<br />
</code><br />
を追記。</p>
<p><a href="http://field-mount.com/lab/080605/">サンプルはこちら</a>。</p>
<p>次回はダウンロード状況をプログレスバーで表示しよう。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.field-mount.com/?feed=rss2&#038;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>外部FLVを読み込んで再生 その2 [再生・停止ボタン]</title>
		<link>http://wp.field-mount.com/?p=9</link>
		<comments>http://wp.field-mount.com/?p=9#comments</comments>
		<pubDate>Wed, 04 Jun 2008 03:36:58 +0000</pubDate>
		<dc:creator>TETSU</dc:creator>
				<category><![CDATA[flash as2.0]]></category>

		<guid isPermaLink="false">http://wp.field-mount.com/?p=9</guid>
		<description><![CDATA[前回の記事のものに再生、一時停止、先頭へ戻るボタンを付けました。 至って簡単です。 前回のflaファイルのrootの1フレーム目に var netConn = new NetConnection(); // コネクション [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wp.field-mount.com/?p=8">前回の記事</a>のものに再生、一時停止、先頭へ戻るボタンを付けました。</p>
<p>至って簡単です。</p>
<p>前回のflaファイルのrootの1フレーム目に<br />
<code>var netConn = new NetConnection(); // コネクションを作成<br />
this.netConn.connect( null ); // ローカルファイル用コネクションを作成<br />
var netStream = new NetStream (netConn); // ネットストリームオブジェクトを作成<br />
my_video.attachVideo(this.netStream); //ネットストリームオブジェクトをビデオに関連づける<br />
netStream.play ("test.flv");<br />
<span style="color: #ff6600;"> this.myPlay_mc.onRelease = function():Void{<br />
netStream.pause(false);<br />
}<br />
this.myPause_mc.onRelease = function():Void{<br />
netStream.pause(true);<br />
}<br />
this.myBack_mc.onRelease = function():Void{<br />
netStream.seek(0);<br />
netStream.pause(true);<br />
}</span><br />
</code><br />
を追記。</p>
<p><a href="http://field-mount.com/lab/080604/">サンプルはこちら</a>。</p>
<p>次回は再生時のもたつき（再生がストリーミングに追いついてしまう）を解消するようにがんばってみる。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.field-mount.com/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>外部FLVを読み込んで再生 その1 [単純に読み込み]</title>
		<link>http://wp.field-mount.com/?p=8</link>
		<comments>http://wp.field-mount.com/?p=8#comments</comments>
		<pubDate>Tue, 03 Jun 2008 09:49:58 +0000</pubDate>
		<dc:creator>TETSU</dc:creator>
				<category><![CDATA[flash as2.0]]></category>

		<guid isPermaLink="false">http://wp.field-mount.com/?p=8</guid>
		<description><![CDATA[AS3.0を少し勉強し始めましたが、改めてAS2.0も復習をしておこう。 AS2.0ならある程度調べればできるが、技術の底上げとして。 でまず外部FLVを読み込んで再生。 単純にswfと同一階層のflvを読み込み。 ライ [...]]]></description>
			<content:encoded><![CDATA[<p>AS3.0を少し勉強し始めましたが、改めてAS2.0も復習をしておこう。<br />
AS2.0ならある程度調べればできるが、技術の底上げとして。</p>
<p>でまず外部FLVを読み込んで再生。</p>
<p>単純にswfと同一階層のflvを読み込み。</p>
<ol>
<li>ライブラリパネルから新規ビデオを作成（Flash CS3の場合はAction Script制御の方を選択）</li>
<li>ステージにそのビデオオブジェクトを配置。</li>
<li> プロパティパネルからインスタンス名を設定（今回はmy_videoとする）</li>
<li> rootの1フレーム目に<br />
<code>var netConn = new NetConnection(); // コネクションを作成<br />
this.netConn.connect( null ); // ローカルファイル用コネクションを作成<br />
var netStream = new NetStream (netConn);  // ネットストリームオブジェクトを作成<br />
my_video.attachVideo(this.netStream); //ネットストリームオブジェクトをビデオに関連づける<br />
netStream.play ("test.flv");<br />
</code></li>
<li>サーバーにアップ</li>
</ol>
<p>以上で完成のはず。</p>
<p><a title="Flash Test 1" href="http://field-mount.com/lab/080603/" target="_self">サンプルを見る</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wp.field-mount.com/?feed=rss2&#038;p=8</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
