<?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"
	>
<channel>
	<title>Comments on: QueueLoader AS3 rev 8</title>
	<atom:link href="http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/</link>
	<description>actionscript and creative playground of Donovan Adams</description>
	<pubDate>Tue, 07 Oct 2008 07:01:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: djdonovan</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1288</link>
		<dc:creator>djdonovan</dc:creator>
		<pubDate>Wed, 21 Nov 2007 02:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1288</guid>
		<description>I've posted a stable rev. Some features have been lost to the svn as they need more testing. Go &lt;a href="http://blog.hydrotik.com/category/queueloader/" rel="nofollow"&gt;here&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve posted a stable rev. Some features have been lost to the svn as they need more testing. Go <a href="http://blog.hydrotik.com/category/queueloader/" rel="nofollow">here</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next2Heaven</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1133</link>
		<dc:creator>Next2Heaven</dc:creator>
		<pubDate>Fri, 16 Nov 2007 16:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1133</guid>
		<description>Oh...got it.  Just use:

if(oEvent.name=="application1") oApplication1 = oEvent.file;</description>
		<content:encoded><![CDATA[<p>Oh&#8230;got it.  Just use:</p>
<p>if(oEvent.name==&#8221;application1&#8243;) oApplication1 = oEvent.file;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next2Heaven</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1132</link>
		<dc:creator>Next2Heaven</dc:creator>
		<pubDate>Fri, 16 Nov 2007 16:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1132</guid>
		<description>One hang up with this is doing multiple swf's though.  When in the INIT function how do you set the right variables like:

oApplication1 = oEvent.file;
oApplication2 = oEvent.file;

See the problem?  Could you use an if/then on the 'name' variable your attaching to it like:

if(oApplication1.content.name == "application1") oApplication1 = oEvent.file;
...etc?

The ideas above work great for one swf but 2+ causes issues.  Anybody have an idea?</description>
		<content:encoded><![CDATA[<p>One hang up with this is doing multiple swf&#8217;s though.  When in the INIT function how do you set the right variables like:</p>
<p>oApplication1 = oEvent.file;<br />
oApplication2 = oEvent.file;</p>
<p>See the problem?  Could you use an if/then on the &#8216;name&#8217; variable your attaching to it like:</p>
<p>if(oApplication1.content.name == &#8220;application1&#8243;) oApplication1 = oEvent.file;<br />
&#8230;etc?</p>
<p>The ideas above work great for one swf but 2+ causes issues.  Anybody have an idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tasovi</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1127</link>
		<dc:creator>tasovi</dc:creator>
		<pubDate>Fri, 16 Nov 2007 13:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1127</guid>
		<description>or even simpler:
oApplication = oEvent.file;
oApplication.start();</description>
		<content:encoded><![CDATA[<p>or even simpler:<br />
oApplication = oEvent.file;<br />
oApplication.start();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tasovi</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1122</link>
		<dc:creator>tasovi</dc:creator>
		<pubDate>Fri, 16 Nov 2007 11:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1122</guid>
		<description>I found out, that instead of doing:

var SWFClassReference:Class = getDefinitionByName(“SWFClass”) as Class;
var _oSWFClass:* = new SWFClassReference();
swfClass.doFunction();

you also do:
oQueueLoader.addItem("application.swf", oApplication, {name:"application"});

and once it is done loading you can say:
oApplication = addChild(oEvent.file);
oApplication.start();

the good thing is, that you don't have to know the name of the class that comes with your loaded swf!!!!</description>
		<content:encoded><![CDATA[<p>I found out, that instead of doing:</p>
<p>var SWFClassReference:Class = getDefinitionByName(“SWFClass”) as Class;<br />
var _oSWFClass:* = new SWFClassReference();<br />
swfClass.doFunction();</p>
<p>you also do:<br />
oQueueLoader.addItem(&#8221;application.swf&#8221;, oApplication, {name:&#8221;application&#8221;});</p>
<p>and once it is done loading you can say:<br />
oApplication = addChild(oEvent.file);<br />
oApplication.start();</p>
<p>the good thing is, that you don&#8217;t have to know the name of the class that comes with your loaded swf!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next2Heaven</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1107</link>
		<dc:creator>Next2Heaven</dc:creator>
		<pubDate>Thu, 15 Nov 2007 23:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1107</guid>
		<description>Very, very cool.  That's exactly what I needed.  Thank you!  I'm keeping an eye on this script as it evolves.  Makes life lots easier when you have a lot of dynamic content.  Thanks again!</description>
		<content:encoded><![CDATA[<p>Very, very cool.  That&#8217;s exactly what I needed.  Thank you!  I&#8217;m keeping an eye on this script as it evolves.  Makes life lots easier when you have a lot of dynamic content.  Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djdonovan</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1106</link>
		<dc:creator>djdonovan</dc:creator>
		<pubDate>Thu, 15 Nov 2007 22:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1106</guid>
		<description>Thanks man!

backtheme.gotoAndStop() would be accessing the swf's container.

To access the actual loaded swf's timeline you would need to use var mc:MovieClip = event.file; in an onItemInit or onQueueInit handler.

then you could do mc.gotoAndStop("label");

Let me know if that helps.</description>
		<content:encoded><![CDATA[<p>Thanks man!</p>
<p>backtheme.gotoAndStop() would be accessing the swf&#8217;s container.</p>
<p>To access the actual loaded swf&#8217;s timeline you would need to use var mc:MovieClip = event.file; in an onItemInit or onQueueInit handler.</p>
<p>then you could do mc.gotoAndStop(&#8221;label&#8221;);</p>
<p>Let me know if that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Next2Heaven</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1104</link>
		<dc:creator>Next2Heaven</dc:creator>
		<pubDate>Thu, 15 Nov 2007 22:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1104</guid>
		<description>Love this loaderQueue...having one issue though.  I'm adding a swf to the queue and need to use gotoAndStop on certain frames of the clip.  Here is the basic code:

public var _oLoader:QueueLoader = new QueueLoader();
public var backTheme:MovieClip = new MovieClip();
_oLoader.addItem("assets/backTheme_nature.swf", backTheme, {title:"Image"});
addChild(backTheme);

...later on...
backtheme.gotoAndStop("Screen2");

This isn't working.  Am I missing something?</description>
		<content:encoded><![CDATA[<p>Love this loaderQueue&#8230;having one issue though.  I&#8217;m adding a swf to the queue and need to use gotoAndStop on certain frames of the clip.  Here is the basic code:</p>
<p>public var _oLoader:QueueLoader = new QueueLoader();<br />
public var backTheme:MovieClip = new MovieClip();<br />
_oLoader.addItem(&#8221;assets/backTheme_nature.swf&#8221;, backTheme, {title:&#8221;Image&#8221;});<br />
addChild(backTheme);</p>
<p>&#8230;later on&#8230;<br />
backtheme.gotoAndStop(&#8221;Screen2&#8243;);</p>
<p>This isn&#8217;t working.  Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djdonovan</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1101</link>
		<dc:creator>djdonovan</dc:creator>
		<pubDate>Thu, 15 Nov 2007 19:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1101</guid>
		<description>I'll include this in the next revision.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll include this in the next revision.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel Fritsch</title>
		<link>http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1099</link>
		<dc:creator>Manuel Fritsch</dc:creator>
		<pubDate>Thu, 15 Nov 2007 18:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hydrotik.com/2007/11/11/queueloader-as3-rev-8/#comment-1099</guid>
		<description>Hi,

great JOB! - but i have one specific problem: since we use a CMS (Plone/Zope) which doesnt use file extensions, the loader doesn't work because he can't assing the file_types at this part i.e.: 
if(currItem.url.match(".jpg") != null) _currType = FILE_IMAGE;

(of course not) - so there should be an option to assign the expected file type at the addItem function for this case. that would be great.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>great JOB! - but i have one specific problem: since we use a CMS (Plone/Zope) which doesnt use file extensions, the loader doesn&#8217;t work because he can&#8217;t assing the file_types at this part i.e.:<br />
if(currItem.url.match(&#8221;.jpg&#8221;) != null) _currType = FILE_IMAGE;</p>
<p>(of course not) - so there should be an option to assign the expected file type at the addItem function for this case. that would be great.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
