<?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: AS3 Apple Style Preloader</title>
	<atom:link href="http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/</link>
	<description>Adobe, Flash, Flex, AIR, Technology</description>
	<lastBuildDate>Thu, 18 Mar 2010 22:50:52 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: CR</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-20777</link>
		<dc:creator>CR</dc:creator>
		<pubDate>Wed, 17 Mar 2010 19:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-20777</guid>
		<description>DO NOT USE THE ABOVE. TYPO.. Here is the correct code:


import net.stevensacks.preloaders.CircleSlicePreloader;

var preloader:CircleSlicePreloader = new CircleSlicePreloader();
preloader.x = 150;
preloader.y = 100;

addChildAt(preloader,0);

this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);

function PL_LOADING(event:ProgressEvent):void {
var percent:Number=event.bytesLoaded/event.bytesTotal*100;

percent_loaded.text=int(percent)+&quot;%&quot;;
}</description>
		<content:encoded><![CDATA[<p>DO NOT USE THE ABOVE. TYPO.. Here is the correct code:</p>
<p>import net.stevensacks.preloaders.CircleSlicePreloader;</p>
<p>var preloader:CircleSlicePreloader = new CircleSlicePreloader();<br />
preloader.x = 150;<br />
preloader.y = 100;</p>
<p>addChildAt(preloader,0);</p>
<p>this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);</p>
<p>function PL_LOADING(event:ProgressEvent):void {<br />
var percent:Number=event.bytesLoaded/event.bytesTotal*100;</p>
<p>percent_loaded.text=int(percent)+&#034;%&#034;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CR</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-20776</link>
		<dc:creator>CR</dc:creator>
		<pubDate>Wed, 17 Mar 2010 19:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-20776</guid>
		<description>I added the % loaded below the loader by creating a dynamic text box on stage with an instance name of &quot;percent_loaded&quot;. Then, changed the code to this:

import net.stevensacks.preloaders.CircleSlicePreloader;

var preloader:CircleSlicePreloader = new CircleSlicePreloader();
preloader.x = 150;
preloader.y = 100;

addChildAt(preloader,0);


this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);

function PL_LOADING(event:ProgressEvent):void {
var percent:Number=event.bytesLoaded/event.bytesTotal*100;

perc_loaded.text=int(percent)+&quot;%&quot;;
}

Again, thank you for this code Steven.</description>
		<content:encoded><![CDATA[<p>I added the % loaded below the loader by creating a dynamic text box on stage with an instance name of &#034;percent_loaded&#034;. Then, changed the code to this:</p>
<p>import net.stevensacks.preloaders.CircleSlicePreloader;</p>
<p>var preloader:CircleSlicePreloader = new CircleSlicePreloader();<br />
preloader.x = 150;<br />
preloader.y = 100;</p>
<p>addChildAt(preloader,0);</p>
<p>this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);</p>
<p>function PL_LOADING(event:ProgressEvent):void {<br />
var percent:Number=event.bytesLoaded/event.bytesTotal*100;</p>
<p>perc_loaded.text=int(percent)+&#034;%&#034;;<br />
}</p>
<p>Again, thank you for this code Steven.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CR</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-20775</link>
		<dc:creator>CR</dc:creator>
		<pubDate>Wed, 17 Mar 2010 18:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-20775</guid>
		<description>This is great! Thank you so much. Is there any way to add a dynamic text box below the loader that shows the % loaded?</description>
		<content:encoded><![CDATA[<p>This is great! Thank you so much. Is there any way to add a dynamic text box below the loader that shows the % loaded?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valdemar</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-20749</link>
		<dc:creator>Valdemar</dc:creator>
		<pubDate>Wed, 17 Mar 2010 11:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-20749</guid>
		<description>Thank you! It is simple and useful. I passed with a color parameter: 

var preload:CircleSlicePreloader=new CircleSlicePreloader(12, 6, 0xFF0000);

//on the constructor:

private var color:uint
public function CircleSlicePreloader(slices:int, radius:int, color:uint)
{...

this.color = color;

...
}

// and for the slice creation:

private function getSlice():Shape
{
... 

slice.graphics.beginFill(color);

...
}

I don`t know if I made it clear...
Thanks again.</description>
		<content:encoded><![CDATA[<p>Thank you! It is simple and useful. I passed with a color parameter: </p>
<p>var preload:CircleSlicePreloader=new CircleSlicePreloader(12, 6, 0xFF0000);</p>
<p>//on the constructor:</p>
<p>private var color:uint<br />
public function CircleSlicePreloader(slices:int, radius:int, color:uint)<br />
{&#8230;</p>
<p>this.color = color;</p>
<p>&#8230;<br />
}</p>
<p>// and for the slice creation:</p>
<p>private function getSlice():Shape<br />
{<br />
&#8230; </p>
<p>slice.graphics.beginFill(color);</p>
<p>&#8230;<br />
}</p>
<p>I don`t know if I made it clear&#8230;<br />
Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer Palkar</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-18474</link>
		<dc:creator>Sameer Palkar</dc:creator>
		<pubDate>Thu, 14 Jan 2010 06:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-18474</guid>
		<description>Thank for the code its awesome yaar</description>
		<content:encoded><![CDATA[<p>Thank for the code its awesome yaar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-17815</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 25 Dec 2009 17:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-17815</guid>
		<description>Hi Thanx for the code. I do know how to implement the code and make it work. Could anyone please write a step by step tutorialn how to make it work?

Many thanx</description>
		<content:encoded><![CDATA[<p>Hi Thanx for the code. I do know how to implement the code and make it work. Could anyone please write a step by step tutorialn how to make it work?</p>
<p>Many thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Reynolds</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-15082</link>
		<dc:creator>Larry Reynolds</dc:creator>
		<pubDate>Thu, 24 Sep 2009 21:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-15082</guid>
		<description>I&#039;m using this all over the fracking place in my latest project. Thanks so much!</description>
		<content:encoded><![CDATA[<p>I&#039;m using this all over the fracking place in my latest project. Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: niall</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-13748</link>
		<dc:creator>niall</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-13748</guid>
		<description>How do i get it to load a main movie and disappear as it is it stays</description>
		<content:encoded><![CDATA[<p>How do i get it to load a main movie and disappear as it is it stays</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-13547</link>
		<dc:creator>JP</dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-13547</guid>
		<description>Can I use this to preload a flv file?</description>
		<content:encoded><![CDATA[<p>Can I use this to preload a flv file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gasienica</title>
		<link>http://www.stevensacks.net/2008/10/01/as3-apple-style-preloader/comment-page-1/#comment-13486</link>
		<dc:creator>Daniel Gasienica</dc:creator>
		<pubDate>Sat, 01 Aug 2009 12:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/?p=237#comment-13486</guid>
		<description>Steven,
I wrote you on Twitter (@gasi) but you&#039;ve probably missed it. I love this spinner and I was wondering under which license it can be used?
Cheers,
Daniel</description>
		<content:encoded><![CDATA[<p>Steven,<br />
I wrote you on Twitter (@gasi) but you&#039;ve probably missed it. I love this spinner and I was wondering under which license it can be used?<br />
Cheers,<br />
Daniel</p>
]]></content:encoded>
	</item>
</channel>
</rss>
