<?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: Fleb Framework 1.27 released: Cache and preloading</title>
	<atom:link href="http://blog.turtlebite.com/fleb-framework-1-27-released-cache-preloading-included/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.turtlebite.com/fleb-framework-1-27-released-cache-preloading-included/</link>
	<description>Flash CMS Framework, Fleb Framework, Global Navigation and other ActionScript Stuff</description>
	<lastBuildDate>Tue, 24 Jan 2012 19:46:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Christian</title>
		<link>http://blog.turtlebite.com/fleb-framework-1-27-released-cache-preloading-included/comment-page-1/#comment-1496</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 17 Nov 2011 05:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=949#comment-1496</guid>
		<description>You can use preload cache if you want, but if the image is loaded only once at start time and then remains throughout the session, it is not needed. Anyway, you place the background image in main.swf behind the mc &quot;website&quot;. Just add an empty movieclip (or dynamically create one) into which you load the background image. In main.as is already a function &quot;positionWebsite&quot; and an event listener &quot;onStageResize&quot;. Just add your code there (image resizing, positioning etc.) Remember, base.swf should contain as little as possible to keep it small. Try it in the demosite!

Hope that helps,
Christian</description>
		<content:encoded><![CDATA[<p>You can use preload cache if you want, but if the image is loaded only once at start time and then remains throughout the session, it is not needed. Anyway, you place the background image in main.swf behind the mc &#8220;website&#8221;. Just add an empty movieclip (or dynamically create one) into which you load the background image. In main.as is already a function &#8220;positionWebsite&#8221; and an event listener &#8220;onStageResize&#8221;. Just add your code there (image resizing, positioning etc.) Remember, base.swf should contain as little as possible to keep it small. Try it in the demosite!</p>
<p>Hope that helps,<br />
Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fakeartist</title>
		<link>http://blog.turtlebite.com/fleb-framework-1-27-released-cache-preloading-included/comment-page-1/#comment-1494</link>
		<dc:creator>fakeartist</dc:creator>
		<pubDate>Wed, 16 Nov 2011 14:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=949#comment-1494</guid>
		<description>Correction to the previous post

....For example:

data file=&quot;images/background.jpg&quot; bytes=&quot;18644&quot;

And after this,....</description>
		<content:encoded><![CDATA[<p>Correction to the previous post</p>
<p>&#8230;.For example:</p>
<p>data file=&#8221;images/background.jpg&#8221; bytes=&#8221;18644&#8243;</p>
<p>And after this,&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fakeartist</title>
		<link>http://blog.turtlebite.com/fleb-framework-1-27-released-cache-preloading-included/comment-page-1/#comment-1492</link>
		<dc:creator>fakeartist</dc:creator>
		<pubDate>Wed, 16 Nov 2011 12:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=949#comment-1492</guid>
		<description>Hi Christian!

A little advice needed...

So, say that I want to load an big background image,preload cache is the place to add it?

For example:



And after this, in Main class what is the proper way to add it?

By using addchild? How do I retrieve it?

An how can I add it in base class (so that it is behind everything and occupies full screen)?

Thanx in advance</description>
		<content:encoded><![CDATA[<p>Hi Christian!</p>
<p>A little advice needed&#8230;</p>
<p>So, say that I want to load an big background image,preload cache is the place to add it?</p>
<p>For example:</p>
<p>And after this, in Main class what is the proper way to add it?</p>
<p>By using addchild? How do I retrieve it?</p>
<p>An how can I add it in base class (so that it is behind everything and occupies full screen)?</p>
<p>Thanx in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>

