

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Progressive Enhancement with Flash</title>
	<atom:link href="http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash/feed" rel="self" type="application/rss+xml" />
	<link>http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash</link>
	<description>Luck is the residue of good design.</description>
	<lastBuildDate>Tue, 20 Mar 2012 15:33:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: David Stiller</title>
		<link>http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-144197</link>
		<dc:creator>David Stiller</dc:creator>
		<pubDate>Thu, 06 Mar 2008 14:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-144197</guid>
		<description>Kelly,

Your code is showing the use of &lt;code&gt;NetConnection&lt;/code&gt; and &lt;code&gt;NetStream&lt;/code&gt;, but you&#039;re also mentioning the Parameters tab, which tells me you&#039;re using the FLVPlayback component.  These are two distinct mechanisms for displaying video, which almost certainly explains why you&#039;re hearing doubled-up audio.  If you&#039;re using FLVPlayback, you don&#039;t need to use any ActionScript at all, unless you want to loop &#8212; and if so, then you only need to handle the &lt;code&gt;FLVPlayback.complete&lt;/code&gt; event.  Does that make sense?</description>
		<content:encoded><![CDATA[<p>Kelly,</p>
<p>Your code is showing the use of <code>NetConnection</code> and <code>NetStream</code>, but you&#8217;re also mentioning the Parameters tab, which tells me you&#8217;re using the FLVPlayback component.  These are two distinct mechanisms for displaying video, which almost certainly explains why you&#8217;re hearing doubled-up audio.  If you&#8217;re using FLVPlayback, you don&#8217;t need to use any ActionScript at all, unless you want to loop &mdash; and if so, then you only need to handle the <code>FLVPlayback.complete</code> event.  Does that make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelly</title>
		<link>http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-142482</link>
		<dc:creator>Kelly</dc:creator>
		<pubDate>Mon, 03 Mar 2008 17:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-142482</guid>
		<description>Sorry, I didn&#039;t mean for this to be part of the &quot;Progressive Enhancement with Flash&quot;.

Answer to your last response. The video is the exact same file in each example i gave. When I shut off auto play (in the parameters) the video does not play.

these are the three conditions I am using.
1. ns.play(&quot;Jordin Sparks - No Air.flv&quot;); with auto play on
	Result is duel sound &quot;underwater sound&quot; and it loops correctly
2. ns.play(&quot;Jordin Sparks - No Air.flv&quot;); with auto play off
	Result is that video does not play, but hear audio and it loops
correctly
3. ns.play(&quot;file://Jordin Sparks - No Air.flv&quot;); with auto play on
	Result is that video plays great but does not go to video_out
which does work for #2 condition.

Thanks for reponding so quick!!</description>
		<content:encoded><![CDATA[<p>Sorry, I didn&#8217;t mean for this to be part of the &#8220;Progressive Enhancement with Flash&#8221;.</p>
<p>Answer to your last response. The video is the exact same file in each example i gave. When I shut off auto play (in the parameters) the video does not play.</p>
<p>these are the three conditions I am using.<br />
1. ns.play(&#8220;Jordin Sparks &#8211; No Air.flv&#8221;); with auto play on<br />
	Result is duel sound &#8220;underwater sound&#8221; and it loops correctly<br />
2. ns.play(&#8220;Jordin Sparks &#8211; No Air.flv&#8221;); with auto play off<br />
	Result is that video does not play, but hear audio and it loops<br />
correctly<br />
3. ns.play(&#8220;file://Jordin Sparks &#8211; No Air.flv&#8221;); with auto play on<br />
	Result is that video plays great but does not go to video_out<br />
which does work for #2 condition.</p>
<p>Thanks for reponding so quick!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Stiller</title>
		<link>http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-142395</link>
		<dc:creator>David Stiller</dc:creator>
		<pubDate>Mon, 03 Mar 2008 13:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-142395</guid>
		<description>Kelly,

Well, from what I&#039;m seeing, your two blocks of code are nearly identical.  The only change, in fact, is the location of the FLV file, as specified as the parameter of the &lt;code&gt;NetStream.play()&lt;/code&gt; method.  If your video looks better when played as a result of the second block, it suggests to me that you have two FLV files, and that the FLV located in the test_flv folder is encoded for better playback.

The result of your &lt;code&gt;MovieClip.onEnterFrame&lt;/code&gt; event handler is the same in both cases:  both send the playhead to a frame with the label &quot;video_out&quot; ... have you double-checked that you have a frame with that label in the timeline that contains this code?

Are you using this technique within a scenario of progressive enhancement?  I ask, because this blog entry is about progressive enhancement, and other readers might be confused by the topic of your questions.  (Maybe you were thinking &lt;em&gt;progressive download&lt;/em&gt;, where video or some other file loads progressively, versus streaming?)</description>
		<content:encoded><![CDATA[<p>Kelly,</p>
<p>Well, from what I&#8217;m seeing, your two blocks of code are nearly identical.  The only change, in fact, is the location of the FLV file, as specified as the parameter of the <code>NetStream.play()</code> method.  If your video looks better when played as a result of the second block, it suggests to me that you have two FLV files, and that the FLV located in the test_flv folder is encoded for better playback.</p>
<p>The result of your <code>MovieClip.onEnterFrame</code> event handler is the same in both cases:  both send the playhead to a frame with the label &#8220;video_out&#8221; &#8230; have you double-checked that you have a frame with that label in the timeline that contains this code?</p>
<p>Are you using this technique within a scenario of progressive enhancement?  I ask, because this blog entry is about progressive enhancement, and other readers might be confused by the topic of your questions.  (Maybe you were thinking <em>progressive download</em>, where video or some other file loads progressively, versus streaming?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelly</title>
		<link>http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-142179</link>
		<dc:creator>Kelly</dc:creator>
		<pubDate>Mon, 03 Mar 2008 05:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.quip.net/blog/2008/flash/progressive-enhancement-with-flash#comment-142179</guid>
		<description>// I am a designer and NOT a programmer. Forgive me for my lack of knowledge. My problem is. I am playing my flash file loacally. So the SWF file and FLV file will be in a folder on my desktop. I had on script working, but because it&#039;s not linked to my local path, the video skips and repeats during playback. I guess it&#039;s streaming... 

The second path works great with the local path set, but does not goto my label. It just stops at the end of the movie. I would apreciate any help. Thanks.


//This is the script that worked, but the video plays horrible
var nc:NetConnection = new NetConnection();
nc.connect(null);
var my_ns:NetStream = new NetStream(nc);
vidPlayer.attachVideo(my_ns);
my_ns.play(&quot;Jordan_Sparks_snipit.flv&quot;);

this.onEnterFrame = function() {
	if (my_ns.time &gt;= 15) {
		gotoAndPlay(&quot;video_out&quot;);
		delete this.onEnterFrame; 
	



// This script works great but does not goto my label

var nc:NetConnection = new NetConnection();
nc.connect(null);
var my_ns:NetStream = new NetStream(nc);
vidPlayer.attachVideo(my_ns);
my_ns.play(&quot;test_flv/Jordan_Sparks_snipit.flv&quot;);

this.onEnterFrame = function() {
	if (my_ns.time &gt;= 15) {
		gotoAndPlay(&quot;video_out&quot;);
		delete this.onEnterFrame;</description>
		<content:encoded><![CDATA[<p>// I am a designer and NOT a programmer. Forgive me for my lack of knowledge. My problem is. I am playing my flash file loacally. So the SWF file and FLV file will be in a folder on my desktop. I had on script working, but because it&#8217;s not linked to my local path, the video skips and repeats during playback. I guess it&#8217;s streaming&#8230; </p>
<p>The second path works great with the local path set, but does not goto my label. It just stops at the end of the movie. I would apreciate any help. Thanks.</p>
<p>//This is the script that worked, but the video plays horrible<br />
var nc:NetConnection = new NetConnection();<br />
nc.connect(null);<br />
var my_ns:NetStream = new NetStream(nc);<br />
vidPlayer.attachVideo(my_ns);<br />
my_ns.play(&#8220;Jordan_Sparks_snipit.flv&#8221;);</p>
<p>this.onEnterFrame = function() {<br />
	if (my_ns.time &gt;= 15) {<br />
		gotoAndPlay(&#8220;video_out&#8221;);<br />
		delete this.onEnterFrame; </p>
<p>// This script works great but does not goto my label</p>
<p>var nc:NetConnection = new NetConnection();<br />
nc.connect(null);<br />
var my_ns:NetStream = new NetStream(nc);<br />
vidPlayer.attachVideo(my_ns);<br />
my_ns.play(&#8220;test_flv/Jordan_Sparks_snipit.flv&#8221;);</p>
<p>this.onEnterFrame = function() {<br />
	if (my_ns.time &gt;= 15) {<br />
		gotoAndPlay(&#8220;video_out&#8221;);<br />
		delete this.onEnterFrame;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

