<?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: Fix Flash SWF Caching</title>
	<atom:link href="http://blog.728media.com/2008/06/30/fix-flash-swf-caching/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/</link>
	<description>Advanced Flash and Actionscript 3 by Andrew Christensen</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:08:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kawika</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-582</link>
		<dc:creator>Kawika</dc:creator>
		<pubDate>Wed, 20 Apr 2011 23:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-582</guid>
		<description>I find that IE often ignores such &quot;cachebusting&quot; strategies as putting random variables in the query string.  Anyone have a workaround?</description>
		<content:encoded><![CDATA[<p>I find that IE often ignores such &#8220;cachebusting&#8221; strategies as putting random variables in the query string.  Anyone have a workaround?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-408</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 14 Dec 2010 00:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-408</guid>
		<description>It&#039;s noteworthy that after all these years the idiots at Adobe still haven&#039;t been able to set up a properly working cache system. It doesn&#039;t even work consistently stupidly - sometimes it will load the new file (swf or xml or whatever) and sometimes it won&#039;t. So it&#039;s doubly stupid.</description>
		<content:encoded><![CDATA[<p>It&#8217;s noteworthy that after all these years the idiots at Adobe still haven&#8217;t been able to set up a properly working cache system. It doesn&#8217;t even work consistently stupidly &#8211; sometimes it will load the new file (swf or xml or whatever) and sometimes it won&#8217;t. So it&#8217;s doubly stupid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clark Stevenson</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-367</link>
		<dc:creator>Clark Stevenson</dc:creator>
		<pubDate>Wed, 25 Aug 2010 10:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-367</guid>
		<description>I just use nocache by default and a GUID class i found on line:

var nocacheKey:String = &quot;?nocache=&quot; + GUID.create();

var urlLoader......
urlLoader.load(fileToLoad+nocacheKey);</description>
		<content:encoded><![CDATA[<p>I just use nocache by default and a GUID class i found on line:</p>
<p>var nocacheKey:String = &#8220;?nocache=&#8221; + GUID.create();</p>
<p>var urlLoader&#8230;&#8230;<br />
urlLoader.load(fileToLoad+nocacheKey);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. W. Jessy Forsyth</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-329</link>
		<dc:creator>J. W. Jessy Forsyth</dc:creator>
		<pubDate>Tue, 16 Mar 2010 21:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-329</guid>
		<description>Here is a trick I learned years ago for AS2 and just tested in AS3. It works great.

Mind you it doesn&#039;t work offline but all you do is add the code before you go live.

Change this --&gt; l.load(new URLRequest(&quot;your_file.swf&quot;));
To this --&gt; l.load(new URLRequest(&quot;your_file.swf?ver=&quot; + Math.floor(Math.random() * 999)));

With this code it never loads from the cache unless by some magical chance the random number is the same as the cache version :P</description>
		<content:encoded><![CDATA[<p>Here is a trick I learned years ago for AS2 and just tested in AS3. It works great.</p>
<p>Mind you it doesn&#8217;t work offline but all you do is add the code before you go live.</p>
<p>Change this &#8211;&gt; l.load(new URLRequest(&#8220;your_file.swf&#8221;));<br />
To this &#8211;&gt; l.load(new URLRequest(&#8220;your_file.swf?ver=&#8221; + Math.floor(Math.random() * 999)));</p>
<p>With this code it never loads from the cache unless by some magical chance the random number is the same as the cache version <img src='http://blog.728media.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Christensen</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-275</link>
		<dc:creator>Andrew Christensen</dc:creator>
		<pubDate>Mon, 17 Aug 2009 02:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-275</guid>
		<description>shine,
Yes, in my example above I describe the process of embedding a &quot;shell&quot; swf in the HTML and passing that swf file a variable of the &quot;app&quot; location. Personally I use swfObject to embed the shell swf file. It&#039;s painless and easy to pass in variables.

For more information about embedding using swfObject, go here:
http://code.google.com/p/swfobject/wiki/documentation</description>
		<content:encoded><![CDATA[<p>shine,<br />
Yes, in my example above I describe the process of embedding a &#8220;shell&#8221; swf in the HTML and passing that swf file a variable of the &#8220;app&#8221; location. Personally I use swfObject to embed the shell swf file. It&#8217;s painless and easy to pass in variables.</p>
<p>For more information about embedding using swfObject, go here:<br />
<a href="http://code.google.com/p/swfobject/wiki/documentation" rel="nofollow">http://code.google.com/p/swfobject/wiki/documentation</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shine</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-274</link>
		<dc:creator>shine</dc:creator>
		<pubDate>Sun, 16 Aug 2009 04:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-274</guid>
		<description>Hi, 
Can you please put a sample file for this or please explain step by step.  Do you mean loading a swf file from the embedded swf in html?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can you please put a sample file for this or please explain step by step.  Do you mean loading a swf file from the embedded swf in html?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Granik</title>
		<link>http://blog.728media.com/2008/06/30/fix-flash-swf-caching/comment-page-1/#comment-119</link>
		<dc:creator>Anton Granik</dc:creator>
		<pubDate>Wed, 25 Feb 2009 23:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.728media.com/2008/06/30/fix-flash-swf-caching/#comment-119</guid>
		<description>Oh yeah, these project launches are usually pain in the a$$. I decided not to name the files filename_1, filename_2, filename_3 etc. but to copy the whole system to a new folder folder-1/, folder-2/, folder-3/ etc. It allows also to roll back if the client doesn&#039;t want something from the new version.</description>
		<content:encoded><![CDATA[<p>Oh yeah, these project launches are usually pain in the a$$. I decided not to name the files filename_1, filename_2, filename_3 etc. but to copy the whole system to a new folder folder-1/, folder-2/, folder-3/ etc. It allows also to roll back if the client doesn&#8217;t want something from the new version.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

