<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>guidefordesign &#187; loadxml</title>
	<atom:link href="http://www.guidefordesign.com/tag/loadxml/feed" rel="self" type="application/rss+xml" />
	<link>http://www.guidefordesign.com</link>
	<description>Free resources for webmasters, design tools, templates, pixel fonts, free vectors and more..</description>
	<lastBuildDate>Tue, 10 Jan 2012 12:39:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to delete xml cache with actionscript?</title>
		<link>http://www.guidefordesign.com/code-samples/how-to-delete-xml-cache-with-actionscript.html</link>
		<comments>http://www.guidefordesign.com/code-samples/how-to-delete-xml-cache-with-actionscript.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 13:25:12 +0000</pubDate>
		<dc:creator>yuzi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[deleting xml cache]]></category>
		<category><![CDATA[flash actionscript]]></category>
		<category><![CDATA[ignorwhite]]></category>
		<category><![CDATA[loadxml]]></category>
		<category><![CDATA[math.round]]></category>
		<category><![CDATA[xml data cahe]]></category>
		<category><![CDATA[xml loader]]></category>

		<guid isPermaLink="false">http://www.guidefordesign.com/?p=148</guid>
		<description><![CDATA[İt&#8217;s important to delete xml cache in flash if your content is renewing it self often.  Here&#8217;s the sample code for deleting xml cache with actionscript;
Just change your xml loading code with this:

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
myAdd=Math.round(Math.random()*10000); // producing random numbers to add after filename
myXmlFile=&#8221;myfile.xml?new=&#8221;+myAdd;  // little trick to pass the browser [...]]]></description>
			<content:encoded><![CDATA[<p>İt&#8217;s important to delete xml cache in flash if your content is renewing it self often.  Here&#8217;s the sample code for deleting xml cache with actionscript;</p>
<p>Just change your xml loading code with this:</p>
<p><span id="more-148"></span></p>
<p>xmlData = new XML();<br />
xmlData.ignoreWhite = true;<br />
xmlData.onLoad = loadXML;<br />
myAdd=Math.round(Math.random()*10000); // producing random numbers to add after filename<br />
myXmlFile=&#8221;myfile.xml?new=&#8221;+myAdd;  // little trick to pass the browser cache, it thinks this is a new file ..<br />
xmlData.load(myXmlFile);</p>
<p>With this code your flash will reload your xml file refreshing everytime.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.guidefordesign.com%2Fcode-samples%2Fhow-to-delete-xml-cache-with-actionscript.html&amp;linkname=How%20to%20delete%20xml%20cache%20with%20actionscript%3F"><img src="http://www.guidefordesign.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.guidefordesign.com/code-samples/how-to-delete-xml-cache-with-actionscript.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

