<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>.swfgeek &#187; GENERAL</title>
	<atom:link href="http://www.swfgeek.net/category/general-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swfgeek.net</link>
	<description>My Flash Wanderings</description>
	<lastBuildDate>Sun, 15 Aug 2010 05:30:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
		<item>
		<title>Multicast Streaming in Flash Player 10.1 revisited</title>
		<link>http://www.swfgeek.net/2010/08/10/multicast-streaming-in-flash-player-10-1-revisited/</link>
		<comments>http://www.swfgeek.net/2010/08/10/multicast-streaming-in-flash-player-10-1-revisited/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 01:01:21 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[BETAS]]></category>
		<category><![CDATA[EXAMPLES]]></category>
		<category><![CDATA[FEATURED]]></category>
		<category><![CDATA[FLASH PLATFORM]]></category>
		<category><![CDATA[FLASH PLAYER 10]]></category>
		<category><![CDATA[FLEX IDE]]></category>
		<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[TUTORIALS]]></category>
		<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[Adobe Flash Builder 4]]></category>
		<category><![CDATA[flash player 10.1]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[multicast]]></category>
		<category><![CDATA[p2p]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=1270</guid>
		<description><![CDATA[Yesterday a student from my class ask me to help him solve a problem that was getting when testing Tom Krcha's example files of his Multicast Streaming tutorial. Here's the fix.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="256" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6992&amp;context=64&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6992&amp;context=64&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="256" src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6992&amp;context=64&amp;embeded=true&amp;environment=production" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Yesterday a student from my class ask me to help him solve a problem that was getting when testing <a href="http://www.flashrealtime.com/" target="_blank">Tom Krcha&#8217;s</a> example files of his <a href="http://www.flashrealtime.com/tutorial-multicast-streaming-in-flash-player-101/" target="_blank">Multicast Streaming tutorial</a>, the files he was using were the same included in Tom&#8217;s tutorial except for the <a href="http://labs.adobe.com/technologies/stratus/" target="_blank">Stratus Developer Key</a> so after looking at the video tutorial included and testing <a href="http://downloads.tv.adobe.com/CCE7EE73-1C23-D1F3-EF3E301331E91D76.zip" target="_blank">the examples files</a> You&#8217;ll get this error:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code1'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12701"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p1270code1"><pre class="actionscript3" style="font-family:monospace;"><a href="http://www.google.com/search?q=error%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:error.html"><span style="color: #004993;">Error</span></a><span style="color: #000066; font-weight: bold;">:</span> <a href="http://www.google.com/search?q=error%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:error.html"><span style="color: #004993;">Error</span></a> #<span style="color: #000000; font-weight:bold;">2154</span><span style="color: #000066; font-weight: bold;">:</span> The <a href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a> <a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a> <span style="color: #0033ff; font-weight: bold;">is</span> invalid<span style="color: #000066; font-weight: bold;">.</span>  This may be due to a failed <a href="http://www.google.com/search?q=netconnection%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netconnection.html"><span style="color: #004993;">NetConnection</span></a><span style="color: #000066; font-weight: bold;">.</span>
	at <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">::</span><a href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a><span style="color: #000066; font-weight: bold;">/</span>invoke<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
	at <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">::</span><a href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a><span style="color: #000066; font-weight: bold;">/</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
	at Broadcaster<span style="color: #000066; font-weight: bold;">/</span>setupStream<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span>C<span style="color: #000066; font-weight: bold;">:</span>\Users\Dave\Adobe Flash Builder <span style="color: #000000; font-weight:bold;">4</span>\Broadcaster\src\Broadcaster<span style="color: #000066; font-weight: bold;">.</span>mxml<span style="color: #000066; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">67</span><span style="color: #000000;">&#93;</span>
	at Broadcaster<span style="color: #000066; font-weight: bold;">/</span><span style="color: #004993;">netStatus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span>C<span style="color: #000066; font-weight: bold;">:</span>\Users\Dave\Adobe Flash Builder <span style="color: #000000; font-weight:bold;">4</span>\Broadcaster\src\Broadcaster<span style="color: #000066; font-weight: bold;">.</span>mxml<span style="color: #000066; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">50</span><span style="color: #000000;">&#93;</span></pre></td></tr></table></div>

<p>The error is pretty descriptive and what is saying is that was the NetStream was not getting the Camera signal or received a null value when trying to attach it.</p>
<p>The reason that this was happening is because in the NetStatusEvent Listener inside the switch statement we are using the event.info.code = &#8220;NetConnection.Connect.Success&#8221;; both for the Connection and the Stream</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code2'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12702"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p1270code2"><pre class="actionscript3" style="font-family:monospace;">netConnection<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NET_STATUS</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">netStatus</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NET_STATUS</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">netStatus</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></pre></td></tr></table></div>


<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code3'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12703"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p1270code3"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">netStatus</span><span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
	   writeText<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">code</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
	   <span style="color: #0033ff; font-weight: bold;">switch</span><span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">code</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
	            <span style="color: #0033ff; font-weight: bold;">case</span> <span style="color: #990000;">&quot;NetConnection.Connect.Success&quot;</span><span style="color: #000066; font-weight: bold;">:</span>
		    setupStream<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                    <span style="color: #0033ff; font-weight: bold;">break</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>And on the setupStream() function we are trying to attach the camera and thats what throws the error cause we are using the  &#8220;NetConnection.Connect.Success&#8221; to call this function.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code4'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12704"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code" id="p1270code4"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> setupStream<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
      <span style="color: #6699cc; font-weight: bold;">var</span> groupspec<span style="color: #000066; font-weight: bold;">:</span>GroupSpecifier = <span style="color: #0033ff; font-weight: bold;">new</span> GroupSpecifier<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;myGroup/multicastOne&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
      groupspec<span style="color: #000066; font-weight: bold;">.</span>serverChannelEnabled = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
      groupspec<span style="color: #000066; font-weight: bold;">.</span>multicastEnabled = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
      stream = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a><span style="color: #000000;">&#40;</span>netConnection<span style="color: #000066; font-weight: bold;">,</span>groupspec<span style="color: #000066; font-weight: bold;">.</span>groupspecWithAuthorizations<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
      stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NET_STATUS</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">netStatus</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
       <span style="color: #6699cc; font-weight: bold;">var</span> cam<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a> = <a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">getCamera</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
       stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>cam<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
       stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">publish</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;multicast&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
	video<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>cam<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>The fix is pretty straightforward all You have to do is include a case for the event.info.code: &#8220;NetStream.Connect.Success&#8221; and thats where we attach the camera to our stream.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code5'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12705"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code" id="p1270code5"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">switch</span><span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">code</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">case</span> <span style="color: #990000;">&quot;NetConnection.Connect.Success&quot;</span><span style="color: #000066; font-weight: bold;">:</span>
	        setupStream<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">break</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">case</span> <span style="color: #990000;">&quot;NetStream.Connect.Success&quot;</span><span style="color: #000066; font-weight: bold;">:</span>
	        <span style="color: #6699cc; font-weight: bold;">var</span> cam<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a> = <a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">getCamera</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	        stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>cam<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	        stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">publish</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;multicast&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	        video<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>cam<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">break</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>And our setupStream() function will only define the GroupSpecifier and the NetStream:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code6'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12706"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p1270code6"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> setupStream<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	
	<span style="color: #6699cc; font-weight: bold;">var</span> groupspec<span style="color: #000066; font-weight: bold;">:</span>GroupSpecifier = <span style="color: #0033ff; font-weight: bold;">new</span> GroupSpecifier<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;myGroup/multicastOne&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	groupspec<span style="color: #000066; font-weight: bold;">.</span>serverChannelEnabled = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
	groupspec<span style="color: #000066; font-weight: bold;">.</span>multicastEnabled = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
	stream = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a><span style="color: #000000;">&#40;</span>netConnection<span style="color: #000066; font-weight: bold;">,</span>groupspec<span style="color: #000066; font-weight: bold;">.</span>groupspecWithAuthorizations<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	stream<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NET_STATUS</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">netStatus</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Attaching camera / microphone after NetStream is connected, prevents you from following:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1270code7'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p12707"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p1270code7"><pre class="actionscript3" style="font-family:monospace;"><a href="http://www.google.com/search?q=error%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:error.html"><span style="color: #004993;">Error</span></a> #<span style="color: #000000; font-weight:bold;">2154</span><span style="color: #000066; font-weight: bold;">:</span> The <a href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a> <a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a> <span style="color: #0033ff; font-weight: bold;">is</span> invalid<span style="color: #000066; font-weight: bold;">.</span> This may be due to a failed <a href="http://www.google.com/search?q=netconnection%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:netconnection.html"><span style="color: #004993;">NetConnection</span></a><span style="color: #000066; font-weight: bold;">.</span></pre></td></tr></table></div>

<p><a class="fancybox iframe" href="http://examples.swfgeek.net/flash/multicaststream/Multicast.html">Click here</a> to open my example, or <a title="Multicast Streaming Source View" href="http://examples.swfgeek.net/flash/multicaststream/srcview/" target="_blank">here to download</a> the flex project.</p>
<p>You should see Your Broadcaster and your Receiver getting along just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2010/08/10/multicast-streaming-in-flash-player-10-1-revisited/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Processing.js Experiment</title>
		<link>http://www.swfgeek.net/2010/08/09/processing-js-experiment/</link>
		<comments>http://www.swfgeek.net/2010/08/09/processing-js-experiment/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 08:40:47 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[EXAMPLES]]></category>
		<category><![CDATA[EXPERIMENTS]]></category>
		<category><![CDATA[FEATURED]]></category>
		<category><![CDATA[FUNSCRIPT]]></category>
		<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[PROCESSING]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[processing.js]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=963</guid>
		<description><![CDATA[Over the last few weeks when I wasn’t working or fighting hackers on my blog (If You follow me on Twitter you know what I mean), I had the chance to give Processing.js a try. ]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks when I wasn&#8217;t working or fighting hackers on my blog (If <a title="@swfgeek" href="http://twitter.com/swfgeek" target="_blank">You follow me on Twitter</a> you know what I mean), I had the chance to give <a title="Processing.js" href="http://processingjs.org/">Processing.js</a> a try, Processingjs is a port of the <a title="Processing" href="http://processing.org/" target="_blank">Processing</a> programming language,and it lets You program images, interactions and animations for the web without using Flash or Java applets, it uses JavaScript to draw shapes and manipulate images on the <a title="HTML5" href="http://dev.w3.org/html5/spec/Overview.html">HTML5</a> canvas element (You&#8217;ll need a browser that supports it &#8230;cough..IE&#8230;cough&#8230;<a title="ISSUE15" href="http://www.w3.org/html/wg/tracker/issues/15">ISSUE 15</a>), so if you like building data visualizations, creating user-interfaces and developing web-based games Processing.js might be your thing.<br />
So I decided to do a <a title="Processing.j Experiment" href="http://experiments.swfgeek.net/html5/processingjs/" target="_blank">simple test</a> and boy it was really simple to implement existing Processing sketches.<br />
Here&#8217;s a little 3 steps explanation on how I did that experiment;</p>
<p><strong>Step Number 1.-</strong></p>
<p>First things first in order to play with Processing.js you&#8217;ll need to download and include it inside the  tag of your html file.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p963code8'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p9638"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p963code8"><pre class="html4strict" style="font-family:monospace;"> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;script/js/processing-js/processing-0.9.6.min.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--mce:0--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></pre></td></tr></table></div>

<p><strong>Step Number 2.-</strong></p>
<p>Now on the body tag You&#8217;ll need to open up a new canvas tag, and that&#8217;s where the processing.js will be running.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p963code9'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p9639"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p963code9"><pre class="html4strict" style="font-family:monospace;">You need a <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com/chrome&quot;</span> <span style="color: #000066;">target</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;_blank&quot;</span>&gt;</span>modern browser<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span> to view this.</pre></td></tr></table></div>

<p>So what&#8217;s going on here ? You need to tell the canvas the location of the sketch that you&#8217;ll be running (in this case the worms.pjs file), in the <strong>datasrc </strong>attribute and a explaining text in case the user&#8217;s browser dont support HTML5 yet other way all they&#8217;ll see is a blank screen.</p>
<p><strong>Step Number 3.-</strong></p>
<p>The actual Processing.js that will display those playfull worms on Your HTML, if you&#8217;ve used Processing before you&#8217;ll notice that there&#8217;s actually nothing diffrent form what You do in a regular Processing sketch and if you copy and paste this in the Processing enviroment it will run as any other sketch.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p963code10'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p96310"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
</pre></td><td class="code" id="p963code10"><pre class="javascript" style="font-family:monospace;">Mover<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> movers <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Mover<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">30</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  size<span style="color: #009900;">&#40;</span>viewportwidth<span style="color: #339933;">,</span>viewportheight<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  smooth<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  background<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #006600; font-style: italic;">// Initializing all the elements of the array</span>
  <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>int i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> movers.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    movers<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Mover<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> draw<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  noStroke<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  fill<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">10</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  rect<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>width<span style="color: #339933;">,</span>height<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">// Calling functions of all of the objects in the array.</span>
  <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>int i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> movers.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    movers<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">update</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    movers<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checkEdges</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    movers<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">display</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">class</span> Mover <span style="color: #009900;">&#123;</span>
&nbsp;
  PVector location<span style="color: #339933;">;</span>
  PVector velocity<span style="color: #339933;">;</span>
  PVector acceleration<span style="color: #339933;">;</span>
  float topspeed<span style="color: #339933;">;</span>
&nbsp;
  Mover<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    location <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> PVector<span style="color: #009900;">&#40;</span>random<span style="color: #009900;">&#40;</span>width<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>random<span style="color: #009900;">&#40;</span>height<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    velocity <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> PVector<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    topspeed <span style="color: #339933;">=</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000066; font-weight: bold;">void</span> update<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// Our algorithm for calculating acceleration:</span>
    PVector mouse <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> PVector<span style="color: #009900;">&#40;</span>mouseX<span style="color: #339933;">,</span>mouseY<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    PVector dir <span style="color: #339933;">=</span> PVector.<span style="color: #660066;">sub</span><span style="color: #009900;">&#40;</span>mouse<span style="color: #339933;">,</span>location<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #006600; font-style: italic;">// Find vector pointing towards mouse</span>
    dir.<span style="color: #660066;">normalize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #006600; font-style: italic;">// Normalize</span>
    dir.<span style="color: #660066;">mult</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0.5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>       <span style="color: #006600; font-style: italic;">// Scale </span>
    acceleration <span style="color: #339933;">=</span> dir<span style="color: #339933;">;</span>  <span style="color: #006600; font-style: italic;">// Set to acceleration</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// Motion 101!  Velocity changes by acceleration.  Location changes by velocity.</span>
    velocity.<span style="color: #660066;">add</span><span style="color: #009900;">&#40;</span>acceleration<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    velocity.<span style="color: #660066;">limit</span><span style="color: #009900;">&#40;</span>topspeed<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    location.<span style="color: #660066;">add</span><span style="color: #009900;">&#40;</span>velocity<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000066; font-weight: bold;">void</span> display<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    stroke<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    fill<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">175</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    ellipse<span style="color: #009900;">&#40;</span>location.<span style="color: #660066;">x</span><span style="color: #339933;">,</span>location.<span style="color: #660066;">y</span><span style="color: #339933;">,</span><span style="color: #CC0000;">16</span><span style="color: #339933;">,</span><span style="color: #CC0000;">16</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000066; font-weight: bold;">void</span> checkEdges<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>location.<span style="color: #660066;">x</span> <span style="color: #339933;">&gt;</span> width<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      location.<span style="color: #660066;">x</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>location.<span style="color: #660066;">x</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      location.<span style="color: #660066;">x</span> <span style="color: #339933;">=</span> width<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>location.<span style="color: #660066;">y</span> <span style="color: #339933;">&gt;</span> height<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      location.<span style="color: #660066;">y</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>location.<span style="color: #660066;">y</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      location.<span style="color: #660066;">y</span> <span style="color: #339933;">=</span> height<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>So that&#8217;s it You may <a title="Processing.js Experiment" href="http://experiments.swfgeek.net/html5/processingjs/" target="_blank">open your html file in the browser</a> and will see a nice animated wormy things chasing your mouse across the screen.</p>
<p>Hope this little explaings helps You get started with Processing.js, I&#8217;ll be doing a little more of experimentation with it myself and tell You how it goes.</p>
<p>Until next time See You.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2010/08/09/processing-js-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Adobe Flash Media Playback</title>
		<link>http://www.swfgeek.net/2010/07/29/adobe-flash-media-playback/</link>
		<comments>http://www.swfgeek.net/2010/07/29/adobe-flash-media-playback/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 17:46:41 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[FEATURED]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLASH VIDEO]]></category>
		<category><![CDATA[FRAMEWORKS]]></category>
		<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[adobe flash media player]]></category>
		<category><![CDATA[adobe flash platform]]></category>
		<category><![CDATA[flv player]]></category>
		<category><![CDATA[strobe media playback]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=959</guid>
		<description><![CDATA[The new Adobe Flash Media Playback is a free, standard media player for the flash platform, it can be used in any site with only a few lines of HTML, enabling playback of video and other media in minutes. Its extensible plug-in architecture enables easy integration with content delivery networks. There&#8217;s ...]]></description>
			<content:encoded><![CDATA[<p>The new Adobe Flash Media Playback is a free, standard media player for the flash platform, it can be used in any site with only a few lines of HTML, enabling playback of video and other media in minutes. Its extensible plug-in architecture enables easy integration with content delivery networks. There&#8217;s a easy to use <a title="Adobe Media PlayBack Configurator" href="http://www.osmf.org/configurator/fmp/" target="_blank">configuration page</a> to set up the look and feel of Your Player. A thing to note it&#8217;s that this is not the Open Source version  <a href="http://www.osmf.org/strobe_mediaplayback.html" target="_blank">Strobe Media Playback</a>. so if you want to dive in to the code of the player itself that&#8217;s probably a best solution, but if you are looking for a fast way to deliver video content in your blog or site try <a title="Adobe Flash Media Playback" href="http://www.adobe.com/products/flashmediaplayback/" target="_blank">Adobe Flash Media Playback</a></p>
<p><object width="470" height="320"><param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=http%3A%2F%2Fosmf.org%2Fconfigurator%2Fvideos%2Fstrobe.flv"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="470" height="320" flashvars="src=http%3A%2F%2Fosmf.org%2Fconfigurator%2Fvideos%2Fstrobe.flv"></embed></object></p>
<p><strong>Features</strong></p>
<p><strong>Easy configuration</strong><br />
Easily configure the standard functionality of Adobe® Flash® Media Playback. Control capabilities such as autoplay, autohide controls, poster frame definition, control bar positioning, and more — without the use of Adobe Flash authoring tools.</p>
<p><strong>Custom look and feel</strong><br />
Completely replace each of the existing elements of the standard user interface with your own custom artwork.</p>
<p>Streamlined standard functionality<br />
Eliminate duplicate efforts by leveraging the logic built into Flash Media Playback. Enjoy support for standard playback functions such as play/pause/stop, rewind, fast forward, DVR, multibitrate switching, and video navigation.</p>
<p><strong>Integration of latest Adobe Flash Platform features</strong><br />
Enable quick integration of the latest Flash Platform features such as HTTP Dynamic Streaming and DVR functionality.</p>
<p><strong>High-quality, multiprotocol support</strong><br />
Deliver the highest quality playback experience for the given bandwidth, detect and recover from error conditions, and improve overall user experience by working with the latest features of Adobe Flash Player 10.1 and Flash Media Server 3.5 software and HTTP Dynamic Streaming.</p>
<p><strong>Open source file specifications</strong><br />
Achieve a live streaming experience using the MP4 fragment format, the industry standard for adaptive bitrate delivery, including open file format specifications for the media and manifest formats.</p>
<p><strong>Plug-ins for advertising, analytics, and content delivery networks</strong><br />
Enhance your media player to monetize and track your content by utilizing plug-ins for advertising, analytics, and content delivery networks. Flash Media Playback allows you to load plug-ins hosted by partners dynamically, allowing your services to be upgraded without any changes to your website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2010/07/29/adobe-flash-media-playback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>.SWFGEEK 1Year Old Thanks to You</title>
		<link>http://www.swfgeek.net/2008/03/12/swfgeek-1year-old-thanks-to-you/</link>
		<comments>http://www.swfgeek.net/2008/03/12/swfgeek-1year-old-thanks-to-you/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 08:24:24 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[swgeek]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=120</guid>
		<description><![CDATA[
A year ago I started this blog more as an experiment that anything else in hopes that it will help me get in contact with fellow flashers and help the flash community as it had helped me, and now exactly one year latter the only thing that I can say ...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.swfgeek.net/blog/wp-content/uploads/2008/03/swfgeeklog1yearold.jpg" alt="swfgeek 1 year old" /></p>
<p>A year ago I started this blog more as an experiment that anything else in hopes that it will help me get in contact with fellow flashers and help the flash community as it had helped me, and now exactly one year latter the only thing that I can say is a big thanks for letting me be a little helpful and be part of such a great thing as is Flash today.</p>
<p>Thanks to Adobe for giving me the tools to do what I love and love what I do.<br />
Thanks to you the readers who keep this little motor running and hope it will get more useful to you everyday .</p>
<p>THANKS !!!</p>
<p>Sincerely<br />
Dave Gamez (.swfgeek)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2008/03/12/swfgeek-1year-old-thanks-to-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>I am Singularity &#8230;. are You?</title>
		<link>http://www.swfgeek.net/2008/02/02/i-am-singularity-are-you/</link>
		<comments>http://www.swfgeek.net/2008/02/02/i-am-singularity-are-you/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 23:05:47 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=111</guid>
		<description><![CDATA[
Aral Balkan is Singularity.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://singularity08.com/"><img src="http://www.swfgeek.net/blog/wp-content/uploads/2008/02/iamsingularity.jpg" alt="I am Singularity" /></a></p>
<p><a href="http://aralbalkan.com/">Aral Balkan is Singularity</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2008/02/02/i-am-singularity-are-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>.swfgeek Wishes You a Happy New Year 2008</title>
		<link>http://www.swfgeek.net/2007/12/31/swfgeek-wishes-you-a-happy-new-year-2008/</link>
		<comments>http://www.swfgeek.net/2007/12/31/swfgeek-wishes-you-a-happy-new-year-2008/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 08:49:23 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=107</guid>
		<description><![CDATA[
A year is closing and a new one comes right away, my best wishes to all of you who read this blog, 2007 was a very exiting year for the Adobe Flash Platform, AIR development has prove to be here to stay with so many great projects  and it&#8217;s ...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.swfgeek.net/blog/wp-content/uploads/2007/12/swfgeeklogony2008.jpg" alt="Happy New Year 2008" /></p>
<p>A year is closing and a new one comes right away, my best wishes to all of you who read this blog, 2007 was a very exiting year for the <a href="http://www.adobe.com">Adobe </a>Flash Platform, <a href="http://labs.adobe.com/technologies/air/">AIR</a> development has prove to be here to stay with so many great projects  and it&#8217;s not even out of the beta yet so I see a lot of great apps developed on AIR in 2008, <a href="http://www.papervision3d.org">Papervision 3D</a> shown us that  there&#8217;s no limit but our imagination and the effort we put in our projects , so the Flash Platform it&#8217;s going to keep growing in 2008 and growing fast, on a more personal level 2007 was great for me starting this blog back on March of 2007 was one of the best experiences  I have ever had leading me to meet great developers designers and above all that great human beings, so keep tunned in because I have some serious plans for the for 2008, I&#8217;m starting to write the labs section of this site where I plan  to post some examples on a regular basis and a tutorials section with more detailed explanation of how I do some of my work and  be sure to keep a close eye because as time permits it I will be making a community site where we all can post and share our knowledge and our projects( If you&#8217;re interested in this project be sure to send me a mail).</p>
<p>Thanks to <a href="http://www.adobe.com">Adobe</a> for letting me make a living of something I do for pleasure.<br />
and at last but not at least thanks to all the readers and have a Great and Happy New Year 2008.</p>
<p>Thanks:  Dave G?amez (.swfgeek)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2007/12/31/swfgeek-wishes-you-a-happy-new-year-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>SwfGeek Revamped  !!!</title>
		<link>http://www.swfgeek.net/2007/08/06/swfgeek-revamped/</link>
		<comments>http://www.swfgeek.net/2007/08/06/swfgeek-revamped/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 08:50:02 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=67</guid>
		<description><![CDATA[
Well I been kinda of busy lately, but I manage the time to give this site an Extreme Makeover, well not that much in fact the new theme of this blog wish is K2 it&#8217;s been developed very good it was just to easy to customize.
Hope to get the time ...]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.swfgeek.net/blog/wp-content/uploads/2007/08/newdesign.jpg' alt='Swfgeek V 2.0' /></p>
<p>Well I been kinda of busy lately, but I manage the time to give this site an Extreme Makeover, well not that much in fact the new theme of this blog wish is <a href="http://getk2.com/">K2</a> it&#8217;s been developed very good it was just to easy to customize.<br />
Hope to get the time to post some experiments with Papervision 3D that I&#8217;ve been making, well thats all for today hope you like the new look of this site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2007/08/06/swfgeek-revamped/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>My Illustration site is now online</title>
		<link>http://www.swfgeek.net/2007/07/08/my-illustration-site-is-now-online/</link>
		<comments>http://www.swfgeek.net/2007/07/08/my-illustration-site-is-now-online/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 03:23:09 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=56</guid>
		<description><![CDATA[Hi at last the new version of my illustration site is online  it&#8217;s also made on wordpress when I get the time I&#8217;ll make it in Flash
hope You like the non programing side of me. : )

Heres the link : www.davidgamez.com
]]></description>
			<content:encoded><![CDATA[<p>Hi at last the new version of my illustration site is online  it&#8217;s also made on wordpress when I get the time I&#8217;ll make it in Flash<br />
hope You like the non programing side of me. : )</p>
<p><a href='http://www.davidgamez.com/wp' title='David Gamez illustration'><img src='http://www.swfgeek.net/blog/wp-content/uploads/2007/07/davidsitepic.jpg' alt='David Gamez illustration' /></a></p>
<p>Heres the link : <a href="http://www.davidgamez.com/wp"><strong>www.davidgamez.com</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2007/07/08/my-illustration-site-is-now-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>.SWFGEEK Blog is now Snap Shots enabled !!!</title>
		<link>http://www.swfgeek.net/2007/06/24/snap-shots-enabled/</link>
		<comments>http://www.swfgeek.net/2007/06/24/snap-shots-enabled/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 19:31:13 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=51</guid>
		<description><![CDATA[
I just installed snap shots witch by now I&#8217;m pretty shure you know how to use but just in case heres a little explaining:
This site called Snap Shots that enhances links with visual previews of the destination site, interactive excerpts of Wikipedia articles, MySpace profiles, IMDb profiles and Amazon products, ...]]></description>
			<content:encoded><![CDATA[<p><a title="Snap Shots" href="http://www.snap.com/about/shots.php"><img src="http://www.swfgeek.net/blog/wp-content/uploads/2007/06/snaolink.jpg" alt="Snap Shots" /></a></p>
<p>I just installed snap shots witch by now I&#8217;m pretty shure you know how to use but just in case heres a little explaining:</p>
<p>This site called Snap Shots that enhances links with visual previews of the destination site, interactive excerpts of Wikipedia articles, MySpace profiles, IMDb profiles and Amazon products, display inline videos, RSS, MP3s, photos, stock charts and more.</p>
<p>Sometimes Snap Shots bring you the information you need, without your having to leave the site, while other times it lets you &#8220;look ahead,&#8221; before deciding if you want to follow a link or not.<br />
In case it becomes annoying , just click the Options icon in the upper right corner of the Snap Shot and opt-out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2007/06/24/snap-shots-enabled/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>CECY MEADE ONLINE</title>
		<link>http://www.swfgeek.net/2007/06/19/cecy-meade-online/</link>
		<comments>http://www.swfgeek.net/2007/06/19/cecy-meade-online/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 15:49:37 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[GENERAL]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=47</guid>
		<description><![CDATA[
At least the lovely work of my wife is displayed on her website due to time and management issues the best option was to use wordpress so she can update frequently.
So don&#8217;t wait and go on and see some of her illustrations. ( the section of shop it&#8217;s not working ...]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.cecymeade.com' title='www.cecymeade.com'><img src='http://www.swfgeek.net/blog/wp-content/uploads/2007/06/cecymeade1.jpg' alt='www.cecymeade.com' /></a></p>
<p>At least the lovely work of my wife is displayed on her website due to time and management issues the best option was to use <a href="http://wordpress.com/"><strong>wordpress</strong></a> so she can update frequently.</p>
<p>So don&#8217;t wait and go on and see some of her illustrations. ( the section of shop it&#8217;s not working right now we hope to update that soon ).</p>
<p>Here&#8217;s the link: <a href="http://www.cecymeade.com/wp"><strong>www.cecymeade.com</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2007/06/19/cecy-meade-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
	</channel>
</rss>
