<?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: Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3</title>
	<atom:link href="http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/</link>
	<description>Flash - HTML5 Canvas - Games - Indie - Retro - Mobile</description>
	<lastBuildDate>Sat, 11 Feb 2012 04:38:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Markavian</title>
		<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-3558</link>
		<dc:creator>Markavian</dc:creator>
		<pubDate>Fri, 13 May 2011 05:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-3558</guid>
		<description>Thanks for doing your research! I played around and struggled with this myself. I usually go with a separate preloader file, but this is messy when you need to give it to someone else to deploy - making the single SWF solution more desirable.

The other thing I try and do is try and keep the main SWF below 200KB (code and vectors only) and load in all Bitmaps, Sounds, etc. at runtime - either with a preloader/asset loader, or my own ImageHolder cache which dynamically loads and caches images.

For sound, its a bit more complicated - if you just load mp3 on the fly you end up with a delay for the first play. Instead, I embed sound and music in a separate project / SWF with class/linkage IDs, and then create sound files using a factory function in the loaded SWF. That way I can preload all the sounds and create them instantly without worrying about subsequent load delays.

You can do the same with &quot;image packs&quot;, which is useful when you want to separate your game/program code from UI elements, and hand those files off to a flash designer/traditional designer to work on separately from the main project.</description>
		<content:encoded><![CDATA[<p>Thanks for doing your research! I played around and struggled with this myself. I usually go with a separate preloader file, but this is messy when you need to give it to someone else to deploy &#8211; making the single SWF solution more desirable.</p>
<p>The other thing I try and do is try and keep the main SWF below 200KB (code and vectors only) and load in all Bitmaps, Sounds, etc. at runtime &#8211; either with a preloader/asset loader, or my own ImageHolder cache which dynamically loads and caches images.</p>
<p>For sound, its a bit more complicated &#8211; if you just load mp3 on the fly you end up with a delay for the first play. Instead, I embed sound and music in a separate project / SWF with class/linkage IDs, and then create sound files using a factory function in the loaded SWF. That way I can preload all the sounds and create them instantly without worrying about subsequent load delays.</p>
<p>You can do the same with &#8220;image packs&#8221;, which is useful when you want to separate your game/program code from UI elements, and hand those files off to a flash designer/traditional designer to work on separately from the main project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 8bitjeff</title>
		<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-1994</link>
		<dc:creator>8bitjeff</dc:creator>
		<pubDate>Sat, 16 Oct 2010 03:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-1994</guid>
		<description>I can&#039;t get TLF text to work at all in CS5. It seems to break EVERYTHING! </description>
		<content:encoded><![CDATA[<p>I can&#8217;t get TLF text to work at all in CS5. It seems to break EVERYTHING!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Egystr</title>
		<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-1992</link>
		<dc:creator>Egystr</dc:creator>
		<pubDate>Fri, 15 Oct 2010 22:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-1992</guid>
		<description>Great job i got it works but it make me an error with TLF text in cs5</description>
		<content:encoded><![CDATA[<p>Great job i got it works but it make me an error with TLF text in cs5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eriksombroek</title>
		<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-1768</link>
		<dc:creator>Eriksombroek</dc:creator>
		<pubDate>Wed, 15 Sep 2010 09:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-1768</guid>
		<description>Thanks dude, very helpfull.
Also got a headache cause of this. My workaround was to just load the Main swf into a loader swf.</description>
		<content:encoded><![CDATA[<p>Thanks dude, very helpfull.<br />
Also got a headache cause of this. My workaround was to just load the Main swf into a loader swf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Reveal A Flexible Progress bar &#124; Script ebooks</title>
		<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-435</link>
		<dc:creator>The Reveal A Flexible Progress bar &#124; Script ebooks</dc:creator>
		<pubDate>Fri, 13 Aug 2010 02:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-435</guid>
		<description>[...] Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3 &#124; 8bitrocket [...]</description>
		<content:encoded><![CDATA[<p>[...] Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3 | 8bitrocket [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3 &#8230; &#124; Flash Designers</title>
		<link>http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-40</link>
		<dc:creator>Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3 &#8230; &#124; Flash Designers</dc:creator>
		<pubDate>Fri, 23 Jul 2010 05:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.8bitrocket.com/2008/04/22/tutorial-preloading-actionscript-3-as3-games-in-flash-cs3/#comment-40</guid>
		<description>[...] Here is the original post: Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3 &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Here is the original post: Tutorial: Preloading Actionscript 3 (AS3) Games in Flash CS3 &#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

