<?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: Flash Actionscript 3 (AS3) Super Loader</title>
	<atom:link href="http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/</link>
	<description>FLASH :: FLEX :: ILLUSTRATION :: ANIMATION</description>
	<pubDate>Thu, 11 Mar 2010 01:30:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: websites accesed so far to help understand ActionScript 3 &#171; Dave Potts Blog</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-392</link>
		<dc:creator>websites accesed so far to help understand ActionScript 3 &#171; Dave Potts Blog</dc:creator>
		<pubDate>Wed, 10 Feb 2010 20:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-392</guid>
		<description>[...] Flash Actionscript 3 (AS3) Super Loader &#124; Taterboy.com: Graphics, Multimedia and Such [...]</description>
		<content:encoded><![CDATA[<p>[...] Flash Actionscript 3 (AS3) Super Loader | Taterboy.com: Graphics, Multimedia and Such [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wundes</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-313</link>
		<dc:creator>John Wundes</dc:creator>
		<pubDate>Sun, 20 Sep 2009 19:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-313</guid>
		<description>That was exactly it. I'd moved the loader into an assets folder and forgot to reset the class path. Thanks man.</description>
		<content:encoded><![CDATA[<p>That was exactly it. I&#8217;d moved the loader into an assets folder and forgot to reset the class path. Thanks man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-312</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Sun, 20 Sep 2009 18:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-312</guid>
		<description>When you download the source from above, there is a "com" that should reside in the same directory as loadBar.fla. Inside the "com" folder are the classes that give the loadBar it's functionality including ldrMon. Hope this helps and thanks.</description>
		<content:encoded><![CDATA[<p>When you download the source from above, there is a &#8220;com&#8221; that should reside in the same directory as loadBar.fla. Inside the &#8220;com&#8221; folder are the classes that give the loadBar it&#8217;s functionality including ldrMon. Hope this helps and thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wundes</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-311</link>
		<dc:creator>John Wundes</dc:creator>
		<pubDate>Sun, 20 Sep 2009 00:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-311</guid>
		<description>First, THANKS for this loader. It is AWESOME! 

Unfortunately I've run into a seemingly simple bug, which I hope you can explain easily.  

When I open the Loadbar.fla, and save as a CS4, when I run the mainFlash.swf, it complains that 
"TypeError: Error #1006: ldrMon is not a function." 
The superstages behaves as if it can no longer see functions inside of Loadbar. 

I've checked the AS publish settings, and both are set to AS3, and flash player 10. Help!

thanks,
-J</description>
		<content:encoded><![CDATA[<p>First, THANKS for this loader. It is AWESOME! </p>
<p>Unfortunately I&#8217;ve run into a seemingly simple bug, which I hope you can explain easily.  </p>
<p>When I open the Loadbar.fla, and save as a CS4, when I run the mainFlash.swf, it complains that<br />
&#8220;TypeError: Error #1006: ldrMon is not a function.&#8221;<br />
The superstages behaves as if it can no longer see functions inside of Loadbar. </p>
<p>I&#8217;ve checked the AS publish settings, and both are set to AS3, and flash player 10. Help!</p>
<p>thanks,<br />
-J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-127</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Sun, 24 Aug 2008 22:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-127</guid>
		<description>If you just want to use the loader and nothing else, then load the "loaderbar.swf" into your fla,
&lt;pre lang="actionscript"&gt;
        var ldr:Loader = new Loader();
	var ldrReq:URLRequest = new URLRequest("loaderbar.swf");
	ldr.load(ldrReq);
	ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, finHandler);
	addChild(ldr);

var mainLdr:Object;
function finHandler(ev:Event):void{
	mainLdr = ev.target.content;
}

&lt;/pre&gt;

Then for the progress events of other loading objects, add this code.
&lt;pre lang="actionscript"&gt;
function ldrProgress(ev:ProgressEvent):void{
	if(mainLdr){
		mainLdr.ldrMon(ev.bytesLoaded/ev.bytesTotal);
	}
}
&lt;/pre&gt;
If you load anything else in the same parent as the loader bar, then you will need to load it so that the loader bar still appears on top of everything.</description>
		<content:encoded><![CDATA[<p>If you just want to use the loader and nothing else, then load the &#8220;loaderbar.swf&#8221; into your fla,</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p4code1'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p41"><td class="code" id="p4code1"><pre class="actionscript" style="font-family:monospace;">        <span style="color: #000000; font-weight: bold;">var</span> ldr:Loader = <span style="color: #000000; font-weight: bold;">new</span> Loader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> ldrReq:URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;loaderbar.swf&quot;</span><span style="color: #66cc66;">&#41;</span>;
	ldr.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span>ldrReq<span style="color: #66cc66;">&#41;</span>;
	ldr.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, finHandler<span style="color: #66cc66;">&#41;</span>;
	addChild<span style="color: #66cc66;">&#40;</span>ldr<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> mainLdr:<span style="color: #0066CC;">Object</span>;
<span style="color: #000000; font-weight: bold;">function</span> finHandler<span style="color: #66cc66;">&#40;</span>ev:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span>
	mainLdr = ev.<span style="color: #0066CC;">target</span>.<span style="color: #006600;">content</span>;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>Then for the progress events of other loading objects, add this code.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p4code2'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p42"><td class="code" id="p4code2"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> ldrProgress<span style="color: #66cc66;">&#40;</span>ev:ProgressEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>mainLdr<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		mainLdr.<span style="color: #006600;">ldrMon</span><span style="color: #66cc66;">&#40;</span>ev.<span style="color: #0066CC;">bytesLoaded</span><span style="color: #66cc66;">/</span>ev.<span style="color: #0066CC;">bytesTotal</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>If you load anything else in the same parent as the loader bar, then you will need to load it so that the loader bar still appears on top of everything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lidia</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-126</link>
		<dc:creator>Lidia</dc:creator>
		<pubDate>Sun, 24 Aug 2008 01:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-126</guid>
		<description>Hi, this is a great script, thanks!
I have a .fla where I want to use this loader, how can I do it without using the mainFlash.swf?</description>
		<content:encoded><![CDATA[<p>Hi, this is a great script, thanks!<br />
I have a .fla where I want to use this loader, how can I do it without using the mainFlash.swf?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-125</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Fri, 08 Aug 2008 12:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-125</guid>
		<description>Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-124</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Fri, 08 Aug 2008 02:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-124</guid>
		<description>oh. p.s.
This is going in the resources section of our version cue, if you don't mind. =D</description>
		<content:encoded><![CDATA[<p>oh. p.s.<br />
This is going in the resources section of our version cue, if you don&#8217;t mind. =D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-123</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Fri, 08 Aug 2008 02:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-123</guid>
		<description>Awesome work Tater, this is really great. 

No seriously, this made my day after reading through it. I have a feeling a lot of people will also find this helpful after they figure out it exists. Let the news spreading begin!</description>
		<content:encoded><![CDATA[<p>Awesome work Tater, this is really great. </p>
<p>No seriously, this made my day after reading through it. I have a feeling a lot of people will also find this helpful after they figure out it exists. Let the news spreading begin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2008/05/flash-actionscript-3-as3-super-loader/comment-page-1/#comment-122</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Wed, 06 Aug 2008 17:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://taterboy.com/blog/?p=4#comment-122</guid>
		<description>I am not seeing anything load now. I saw it a few minutes ago and heard audio.</description>
		<content:encoded><![CDATA[<p>I am not seeing anything load now. I saw it a few minutes ago and heard audio.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
