<?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 for AskApache searching on preloading</title>
	<atom:link href="http://www.askapache.com/search/preloading/feed/?withcomments=1" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Tue, 18 Jun 2013 10:04:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Preload flash .flv files into browser cache by AskApache</title>
		<link>http://www.askapache.com/optimize/preload-cache-flash-flv-files.html#comment-901</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Tue, 28 Feb 2012 14:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/preload-and-cache-flash-flv-files.html#comment-901</guid>
		<description><![CDATA[Sorry, it&#039;s way too old now.  I avoid flash as much as possible!]]></description>
		<content:encoded><![CDATA[<p>Sorry, it's way too old now.  I avoid flash as much as possible!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preload flash .flv files into browser cache by ivan</title>
		<link>http://www.askapache.com/optimize/preload-cache-flash-flv-files.html#comment-900</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Fri, 16 Dec 2011 19:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/preload-and-cache-flash-flv-files.html#comment-900</guid>
		<description><![CDATA[can you post the demo file?]]></description>
		<content:encoded><![CDATA[<p>can you post the demo file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by abc</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1632</link>
		<dc:creator>abc</dc:creator>
		<pubDate>Fri, 30 Sep 2011 11:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1632</guid>
		<description><![CDATA[Hi, this all was for .flv files but what about .wmv files?????????]]></description>
		<content:encoded><![CDATA[<p>Hi, this all was for .flv files but what about .wmv files?????????</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by Mark Corkins</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1631</link>
		<dc:creator>Mark Corkins</dc:creator>
		<pubDate>Sun, 22 Aug 2010 11:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1631</guid>
		<description><![CDATA[Thanks for the tutorial on preloading. I needed this to preload the next series of training videos while the user is watching the first one. There are ten in all and some are quite large. Thanks!]]></description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial on preloading. I needed this to preload the next series of training videos while the user is watching the first one. There are ten in all and some are quite large. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by Will Dady</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1630</link>
		<dc:creator>Will Dady</dc:creator>
		<pubDate>Sun, 04 Jul 2010 03:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1630</guid>
		<description><![CDATA[Personally I am very much against pre-caching content like this. Purely for the fact that it is a waste of a user&#039;s bandwidth and you can&#039;t assume a user will watch all 12 videos. I would attempt to intelligently predict what video a user is likely to watch next and pre-cache only that one. Obviously that would only work if your videos followed some kind of sequential order :]]></description>
		<content:encoded><![CDATA[<p>Personally I am very much against pre-caching content like this. Purely for the fact that it is a waste of a user's bandwidth and you can't assume a user will watch all 12 videos. I would attempt to intelligently predict what video a user is likely to watch next and pre-cache only that one. Obviously that would only work if your videos followed some kind of sequential order :</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by Kev Man</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1629</link>
		<dc:creator>Kev Man</dc:creator>
		<pubDate>Thu, 10 Dec 2009 17:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1629</guid>
		<description><![CDATA[Preloading FLV with AS3....DOES NOT WORK!!!

&lt;em&gt;Its relatively easy to get this to work, heres all the actionscript you will need to preload any .flv file. Just create a new flash document, and on frame 1 enter in this actionscript. You can also search your flash help for “preloading” for more help.&lt;/em&gt;

No.  Actually i copied and pasted this (as well as about 20 other so far today that boasted it was super simple) and i get error messages.  As far as searching preloading in the Flash help, HA!!!!  Good luck getting any information that you can use unless you are very familiar with AS, which im not and which is why im looking for copy and paste code, which Adobe has done a very good job of making this extremely difficult.]]></description>
		<content:encoded><![CDATA[<p>Preloading FLV with AS3....DOES NOT WORK!!!</p>
<p><em>Its relatively easy to get this to work, heres all the actionscript you will need to preload any .flv file. Just create a new flash document, and on frame 1 enter in this actionscript. You can also search your flash help for “preloading” for more help.</em></p>
<p>No.  Actually i copied and pasted this (as well as about 20 other so far today that boasted it was super simple) and i get error messages.  As far as searching preloading in the Flash help, HA!!!!  Good luck getting any information that you can use unless you are very familiar with AS, which im not and which is why im looking for copy and paste code, which Adobe has done a very good job of making this extremely difficult.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preload flash .flv files into browser cache by brad tittle</title>
		<link>http://www.askapache.com/optimize/preload-cache-flash-flv-files.html#comment-899</link>
		<dc:creator>brad tittle</dc:creator>
		<pubDate>Wed, 05 Aug 2009 23:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/preload-and-cache-flash-flv-files.html#comment-899</guid>
		<description><![CDATA[Thank you very much.

You inspired a solution to my problem.

For others that might have a similar problem.

I used an &lt;strong&gt;iFrame to launch a preloader&lt;/strong&gt; which read an xml file for the files to load, used &lt;strong&gt;URLLoader to load the file&lt;/strong&gt;, then loaded the next page putting it into the &lt;strong&gt;local cache&lt;/strong&gt;.

&lt;strong&gt;Using an SWF to pre download the files into the browsers cache was  brilliant. &lt;/strong&gt;

I have the preloading posting a message to the master html file telling it how many pages have loaded. The &lt;code&gt;master.swf&lt;/code&gt; queries the &lt;code&gt;master.html&lt;/code&gt; periodically for the status of preloaded pages and sets a &quot;Spooling&quot; message if the page downloading doesn&#039;t catch up.

Thank you again.]]></description>
		<content:encoded><![CDATA[<p>Thank you very much.</p>
<p>You inspired a solution to my problem.</p>
<p>For others that might have a similar problem.</p>
<p>I used an <strong>iFrame to launch a preloader</strong> which read an xml file for the files to load, used <strong>URLLoader to load the file</strong>, then loaded the next page putting it into the <strong>local cache</strong>.</p>
<p><strong>Using an SWF to pre download the files into the browsers cache was  brilliant. </strong></p>
<p>I have the preloading posting a message to the master html file telling it how many pages have loaded. The <code>master.swf</code> queries the <code>master.html</code> periodically for the status of preloaded pages and sets a "Spooling" message if the page downloading doesn't catch up.</p>
<p>Thank you again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by Luke</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1628</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 01 Jun 2009 22:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1628</guid>
		<description><![CDATA[So how do I then access the flv?  The code looks like it&#039;s working right- Safari&#039;s activity monitor shows that my flv is loading- but then when I go to play the flv, the activity monitor shows that it&#039;s opening up another stream for the same file.]]></description>
		<content:encoded><![CDATA[<p>So how do I then access the flv?  The code looks like it's working right- Safari's activity monitor shows that my flv is loading- but then when I go to play the flv, the activity monitor shows that it's opening up another stream for the same file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by Lucho</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1627</link>
		<dc:creator>Lucho</dc:creator>
		<pubDate>Thu, 28 May 2009 04:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1627</guid>
		<description><![CDATA[How the heck do I turn off this awful music you have on this page?! Damn! are we back in the 90&#039;s?

BTW, thanks a lot for this post :P]]></description>
		<content:encoded><![CDATA[<p>How the heck do I turn off this awful music you have on this page?! Damn! are we back in the 90's?</p>
<p>BTW, thanks a lot for this post :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preloading .flv and .mp3 files with Flash by Leon Harris</title>
		<link>http://www.askapache.com/optimize/preloading-caching-flv-mp3.html#comment-1626</link>
		<dc:creator>Leon Harris</dc:creator>
		<pubDate>Wed, 13 May 2009 11:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/flash/preloading-caching-flv-mp3.html#comment-1626</guid>
		<description><![CDATA[Thanks for this. It came is very useful as I am putting together an virtual Art gallery site, which is using a couple dozen FLV files to simulate moving around a Art Gallery. I needed a way to &lt;em&gt;preload the videos&lt;/em&gt; before hand as they are all streamed for moving back and forward. I did a quick alteration to your code so that it would load multiple videos one after the other from an array.

&lt;pre&gt;video = new Array();
video[1]=&quot;intro1.flv&quot;;
video[2]=&quot;move1.flv&quot;;
video[3]=&quot;move2.flv&quot;;
video[4]=&quot;intro2.flv&quot;;
video[5]=&quot;move1a.flv&quot;;
video[6]=&quot;move2a.flv&quot;;
&#160;
if(i ==undefined){_global.i = 1;}
&#160;
file = &#039;clips_400kbps/&#039;+video[i];
&#160;
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
//attach videodisplay
_level0.attachVideo(ns);
ns.setBufferTime(0);
//myVideo.attachVideo(ns);
ns.play(file);
ns.pause();
ns.seek(0);
&#160;
ns.onStatus = function(infoObject:Object) {
if(infoObject.code==&quot;NetStream.Buffer.Flush&quot;){
if(i &lt; video.length-1){
i++;
play();
}else{
trace(&quot;videos have all been preloaded&quot;);
stop();}}}&lt;/pre&gt;

I probably could refine this more but it did what I needed.

Cheers.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this. It came is very useful as I am putting together an virtual Art gallery site, which is using a couple dozen FLV files to simulate moving around a Art Gallery. I needed a way to <em>preload the videos</em> before hand as they are all streamed for moving back and forward. I did a quick alteration to your code so that it would load multiple videos one after the other from an array.</p>
<pre>video = new Array();
video[1]="intro1.flv";
video[2]="move1.flv";
video[3]="move2.flv";
video[4]="intro2.flv";
video[5]="move1a.flv";
video[6]="move2a.flv";
&nbsp;
if(i ==undefined){_global.i = 1;}
&nbsp;
file = 'clips_400kbps/'+video[i];
&nbsp;
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
//attach videodisplay
_level0.attachVideo(ns);
ns.setBufferTime(0);
//myVideo.attachVideo(ns);
ns.play(file);
ns.pause();
ns.seek(0);
&nbsp;
ns.onStatus = function(infoObject:Object) {
if(infoObject.code=="NetStream.Buffer.Flush"){
if(i &lt; video.length-1){
i++;
play();
}else{
trace("videos have all been preloaded");
stop();}}}</pre>
<p>I probably could refine this more but it did what I needed.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
