<?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>stupid website &#187; Flash Action Script</title>
	<atom:link href="http://www.stupid-net.com/category/text/flash-action-script/feed" rel="self" type="application/rss+xml" />
	<link>http://www.stupid-net.com</link>
	<description>out of control</description>
	<lastBuildDate>Thu, 22 Dec 2011 05:59:42 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>httpsサーバでセキュリティ警告を出さない方法</title>
		<link>http://www.stupid-net.com/text/flash-action-script/212</link>
		<comments>http://www.stupid-net.com/text/flash-action-script/212#comments</comments>
		<pubDate>Wed, 07 Mar 2007 19:45:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[win IE]]></category>

		<guid isPermaLink="false">http://stupid.s344.xrea.com/six/?p=212</guid>
		<description><![CDATA[windows ieでswfファイルを貼り付けたhttpsサーバにアクセスしたときに「このページには、セキュリティで保護されている項目と保護されていない項目が含まれています」と警告される場合があります。 この場合swfを [...]]]></description>
			<content:encoded><![CDATA[<p>windows ieでswfファイルを貼り付けたhttpsサーバにアクセスしたときに「このページには、セキュリティで保護されている項目と保護されていない項目が含まれています」と警告される場合があります。<br />
<span id="more-212"></span><br />
この場合swfを貼り付けている部分(objectタグおよびembedタグ)のmacromediaへのリンクアドレスをhttp~~からhttpsに変更することで回避できます。</p>
<p>Microsoft が行ったActiveXコントロールで表示される一部のアクティブコンテンツの処理方法の変更対策でjavascriptでswfを表示しているようにしている場合はjavascriptファイルの該当箇所を直せば大丈夫だと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupid-net.com/text/flash-action-script/212/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ Flash MX 2004 ] FLVの制御</title>
		<link>http://www.stupid-net.com/text/flash-action-script/192</link>
		<comments>http://www.stupid-net.com/text/flash-action-script/192#comments</comments>
		<pubDate>Mon, 18 Sep 2006 14:15:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[action script]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[netstream]]></category>

		<guid isPermaLink="false">http://www.stupid-net.com/six/?p=192</guid>
		<description><![CDATA[Flash MX 2004のFLVファイルを再生させて再生終了後に何か処理を行いたい場合FLVの再生時間を調べておき、その時間が経過すれば処理をするって方法しかないようです。 FLVファイルが1つしかない場合はこの方法で [...]]]></description>
			<content:encoded><![CDATA[<p>Flash MX 2004のFLVファイルを再生させて再生終了後に何か処理を行いたい場合FLVの再生時間を調べておき、その時間が経過すれば処理をするって方法しかないようです。</p>
<p>FLVファイルが1つしかない場合はこの方法でも大丈夫なのですが複数のFLVを再生させたい場合等ではこの方法だと無理があります。</p>
<p>NetStream クラスのイベントハンドラにはFLVの再生が終了したと知らせるものがないためです。</p>
<p>Flash Communication Serverの方には終了を知らせるイベントハンドラがあるようですがタイムラグが生じるようです。</p>
<p>解決方法としてはメディアコンポーネント(flash professionalのみ)のMediaPlayback コンポーネントを使用する方法があります。</p>
<p>ステージ上にMediaPlayback コンポーネントを配置してインスタンス名(例：hoge)を付け、<br />
<code>hoge.setMedia("hoge.flv","FLV");</code></p>
<p>として、続けて</p>
<p><code>var hogeListener:Object = new Object();<br />
hogeListener.complete = function(){<br />
	再生終了後行いたい処理<br />
}<br />
hoge.addEventListener("complete",hogeListener);</code></p>
<p>とすれば再生終了後の処理を設定する事が出来ます。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupid-net.com/text/flash-action-script/192/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ Flash MX 2004 ] メディアコンポーネントのカスタマイズ</title>
		<link>http://www.stupid-net.com/text/flash-action-script/191</link>
		<comments>http://www.stupid-net.com/text/flash-action-script/191#comments</comments>
		<pubDate>Mon, 18 Sep 2006 14:12:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[action script]]></category>
		<category><![CDATA[flash mx 2004]]></category>
		<category><![CDATA[flv]]></category>

		<guid isPermaLink="false">http://www.stupid-net.com/six/?p=191</guid>
		<description><![CDATA[FlashMX2004でFLVファイルやmp3ファイルを気軽に扱えるようになるメディアコンポーネントですが、いざ使うとなるとインターフェイスが邪魔だったりします。 コンポーネントのスキンを変えてやれば好きなようにカスタマ [...]]]></description>
			<content:encoded><![CDATA[<p>FlashMX2004でFLVファイルやmp3ファイルを気軽に扱えるようになるメディアコンポーネントですが、いざ使うとなるとインターフェイスが邪魔だったりします。<br />
<span id="more-191"></span><br />
コンポーネントのスキンを変えてやれば好きなようにカスタマイズする事が出来ます。</p>
<p>Flash MX 2004アプリケーションのある場所に「Configuration」とフォルダがありその中の「ComponentFLA」フォルダ中のMediaComponents.flaを<strong>現在制作しているプロジェクトを保存している場所</strong>にコピーします。</p>
<p>そのコピーしたMediaComponents.flaをFlash MX 2004で開き、変更したい場所を編集します。</p>
<p>編集が終われば保存して今度は適用したいプロジェクトファイルを開きます。<br />
「ファイル/読み込み/外部ライブラリを開く」を選び先ほど保存したMediaComponents.flaを選択します。この時、<strong>「使用可能」の項目が「Flashドキュメント」だと選択できないので「すべてのファイル」に変更</strong>して開きます。</p>
<p>うまく読み込めれば「ライブラリ」ウィンドに追加されます。</p>
<p>ライブラリに追加したコンポーネントを編集しても反映されます。このファイルだけに反映させたい場合は読み込んだライブラリを編集する方が分かりやすいかもしれません。</p>
<p>変更をくわえた箇所を反映させるためには「リンケージ」項目のところに「書き出し：（識別子）」の記述があるもののプロパティを開き「最初のフレームに書き出し」にチェックを入れます。</p>
<p>なお、編集画面では変更が反映されないので確認したい場合は「ムービープレビュー」で確認します。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupid-net.com/text/flash-action-script/191/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ Flash MX 2004 ] FLVの制御2</title>
		<link>http://www.stupid-net.com/text/flash-action-script/211</link>
		<comments>http://www.stupid-net.com/text/flash-action-script/211#comments</comments>
		<pubDate>Sun, 17 Sep 2006 19:43:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[action script]]></category>
		<category><![CDATA[flash mx 2004]]></category>
		<category><![CDATA[flv]]></category>

		<guid isPermaLink="false">http://stupid.s344.xrea.com/six/?p=211</guid>
		<description><![CDATA[前回MediaPlaybackを使用すると書いたのですがMediaPlaybackだと映像の大きさや位置、コントローラーの位置を細かく調節したい時に不便なのでMediaDisplayとMediaControllerを使用 [...]]]></description>
			<content:encoded><![CDATA[<p>前回MediaPlaybackを使用すると書いたのですがMediaPlaybackだと映像の大きさや位置、コントローラーの位置を細かく調節したい時に不便なのでMediaDisplayとMediaControllerを使用してassociateDisplay()でMediaDisplayとMediaControllerを連携するようにしました。<br />
<span id="more-211"></span><br />
複数のFLVを連続再生する場合なぜか１つ目のFLV再生終了時にコントローラーの再生ボタンがストップ状態になってしまいます。実際には次のFLVが再生されていてプログレスバーもキチンと動作しているのですがボタンの状態とステータス表示が「PAUSEED」になったままです。</p>
<p>次に再生するFLVをセットした時に同時に変更してもうまく動いてくれないので、</p>
<p><code>var displayListener:Object = new Object();<br />
displayListener.change = function(){<br />
	if(_root.cntl.playing == false&#038;&#038;_root.display.playing == true){<br />
		_root.cntl.playing = true;<br />
	}<br />
}<br />
display.addEventListener("change",displayListener);</code></p>
<p>上記のようにリスナーオブジェクトを作成してFLVが再生されるごとにコントローラーの再生ボタンの状態をチェックしてボタンの状態を正しくするようにすればキチンと動作してくれます。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupid-net.com/text/flash-action-script/211/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ Flash MX 2004 ] CDATAを使用してtextFieldにタグを表示させる</title>
		<link>http://www.stupid-net.com/text/flash-action-script/210</link>
		<comments>http://www.stupid-net.com/text/flash-action-script/210#comments</comments>
		<pubDate>Sun, 17 Sep 2006 19:39:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[action script]]></category>
		<category><![CDATA[flash mx 2004]]></category>

		<guid isPermaLink="false">http://stupid.s344.xrea.com/six/?p=210</guid>
		<description><![CDATA[Flash MX 2004でXMLを読み込み、CDATAで囲んだタグがtextFieldで表示した時にすべて実体参照になってしまう場合があります。 まず、表示させたいtextFieldのhtmlレンダリングをonにします [...]]]></description>
			<content:encoded><![CDATA[<p>Flash MX 2004でXMLを読み込み、CDATAで囲んだタグがtextFieldで表示した時にすべて実体参照になってしまう場合があります。<br />
<span id="more-210"></span><br />
まず、表示させたいtextFieldのhtmlレンダリングをonにします。</p>
<p>そして目的のnodeのnodeValueをを読み込ませる事にとって実体参照表示を回避する事が出来ます。</p>
<p>引用：<br />
<code>xxx.text = targetNode.toString();</code></p>
<p>ではなく<br />
引用：<br />
<code>xxx,text = targetNode. nodeValue.toString();</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupid-net.com/text/flash-action-script/210/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

