<?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: Embedding whole SWFs in AS3</title>
	<atom:link href="http://www.bit-101.com/blog/?feed=rss2&#038;p=1435" rel="self" type="application/rss+xml" />
	<link>http://www.bit-101.com/blog/?p=1435</link>
	<description>Bill Gates Touched My Mac Book Pro</description>
	<lastBuildDate>Thu, 09 Sep 2010 17:38:28 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Iron Lion of Zion</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9268</link>
		<dc:creator>Iron Lion of Zion</dc:creator>
		<pubDate>Wed, 13 Jan 2010 23:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9268</guid>
		<description>I have a lot of swf&#039;s embedded this way and I need about 15 of them loaded at some point. What I&#039;m doing is:

var counter = 0;
counter++;
x = new EmbeddedClass();
x.addEventListener(..., onCompleteFunc);
function onCompleteFunc(e : Event) : void
{
    // do stuff with loaded data
    counter--;
    if (counter == 0)
        // everything is loaded, notify main app driver
}

It works perfectly on slow, single-core machine, but on my personal one (2.4GHz dual-core - I think dual-core is most important) I receive only about half of notifications - it seems that data is loaded faster than I&#039;m establishing listeners! Does anyone has any idea what can be done about it?</description>
		<content:encoded><![CDATA[<p>I have a lot of swf&#8217;s embedded this way and I need about 15 of them loaded at some point. What I&#8217;m doing is:</p>
<p>var counter = 0;<br />
counter++;<br />
x = new EmbeddedClass();<br />
x.addEventListener(&#8230;, onCompleteFunc);<br />
function onCompleteFunc(e : Event) : void<br />
{<br />
    // do stuff with loaded data<br />
    counter&#8211;;<br />
    if (counter == 0)<br />
        // everything is loaded, notify main app driver<br />
}</p>
<p>It works perfectly on slow, single-core machine, but on my personal one (2.4GHz dual-core &#8211; I think dual-core is most important) I receive only about half of notifications &#8211; it seems that data is loaded faster than I&#8217;m establishing listeners! Does anyone has any idea what can be done about it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karmakat</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9267</link>
		<dc:creator>karmakat</dc:creator>
		<pubDate>Mon, 10 Aug 2009 04:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9267</guid>
		<description>Hi,
I did find it useful that you walked us through your discovery process, but I am having issues producing working code with this, and it&#039;s not entirely clear which lines I should leave in or out. Is there anyway we could see a complete example of this thats working and perhaps also accessing something in the embedded swf itself from flex or AS?

Thanks for your post!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I did find it useful that you walked us through your discovery process, but I am having issues producing working code with this, and it&#8217;s not entirely clear which lines I should leave in or out. Is there anyway we could see a complete example of this thats working and perhaps also accessing something in the embedded swf itself from flex or AS?</p>
<p>Thanks for your post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Grden</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9266</link>
		<dc:creator>John Grden</dc:creator>
		<pubDate>Fri, 05 Sep 2008 00:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9266</guid>
		<description>Keith showed me this in Boston and I&#039;ve used it tons since - I&#039;ve not had any issues with this technique.  I love the ability to embed assets like this.  Embedding collada and bitmaps for Papervision stuff rocks ;)</description>
		<content:encoded><![CDATA[<p>Keith showed me this in Boston and I&#8217;ve used it tons since &#8211; I&#8217;ve not had any issues with this technique.  I love the ability to embed assets like this.  Embedding collada and bitmaps for Papervision stuff rocks <img src='http://www.bit-101.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: H. Melih Elibol</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9265</link>
		<dc:creator>H. Melih Elibol</dc:creator>
		<pubDate>Tue, 02 Sep 2008 14:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9265</guid>
		<description>Ah... shake n&#039; bake swfs... I&#039;m surprised no one has mentioned exporting swc&#039;s from flash... Everything comes through strong typed. Excuse me Keith, I do understand that this post is just on what exactly happens when you embed a swf, but I thought I would add to the alternatives discussion by bringing swc&#039;s to the readers attention...</description>
		<content:encoded><![CDATA[<p>Ah&#8230; shake n&#8217; bake swfs&#8230; I&#8217;m surprised no one has mentioned exporting swc&#8217;s from flash&#8230; Everything comes through strong typed. Excuse me Keith, I do understand that this post is just on what exactly happens when you embed a swf, but I thought I would add to the alternatives discussion by bringing swc&#8217;s to the readers attention&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomsamson</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9264</link>
		<dc:creator>tomsamson</dc:creator>
		<pubDate>Sat, 30 Aug 2008 15:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9264</guid>
		<description>another simple but powerful example for whatÂ´s wrong with the flash platform &quot;evolution&quot; :D
Take one of the most quick and simple things to do in older flash versions and add as many unnessecary levels of cumbersome to use complexity as possible until it almost feels like a special achievment to have accomplished a laughable task.</description>
		<content:encoded><![CDATA[<p>another simple but powerful example for whatÂ´s wrong with the flash platform &#8220;evolution&#8221; <img src='http://www.bit-101.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Take one of the most quick and simple things to do in older flash versions and add as many unnessecary levels of cumbersome to use complexity as possible until it almost feels like a special achievment to have accomplished a laughable task.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Kragh</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9263</link>
		<dc:creator>Christian Kragh</dc:creator>
		<pubDate>Sat, 30 Aug 2008 13:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9263</guid>
		<description>Just thinking about importing / embedding an external SWF triggers a red alarm light in my head.  It&#039;s always been a bit buggy and unstable - I&#039;ve had some issues before, so now I&#039;m kind of afraid of it.  I stay away from importing / embedding external SWFs.  But that sounds right.  I thought it was funny, Keith, how you explained the whole scenario - you had a problem, went for answers but wound up back at the start (your blog), and solved it, but then decided to share it all with everyone. :) Yay. Hehe. Take care.</description>
		<content:encoded><![CDATA[<p>Just thinking about importing / embedding an external SWF triggers a red alarm light in my head.  It&#8217;s always been a bit buggy and unstable &#8211; I&#8217;ve had some issues before, so now I&#8217;m kind of afraid of it.  I stay away from importing / embedding external SWFs.  But that sounds right.  I thought it was funny, Keith, how you explained the whole scenario &#8211; you had a problem, went for answers but wound up back at the start (your blog), and solved it, but then decided to share it all with everyone. <img src='http://www.bit-101.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Yay. Hehe. Take care.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sep</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9262</link>
		<dc:creator>Sep</dc:creator>
		<pubDate>Sat, 30 Aug 2008 01:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9262</guid>
		<description>An other post on that topic...
http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html</description>
		<content:encoded><![CDATA[<p>An other post on that topic&#8230;<br />
<a href="http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html" rel="nofollow">http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tink</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9261</link>
		<dc:creator>Tink</dc:creator>
		<pubDate>Fri, 29 Aug 2008 09:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9261</guid>
		<description>James I&#039;m pretty sure Keith will be referring to an AS 3.0 project. You can use the embed metadata in AS 3.0 projects.

Keith, looked at our library classes?

http://www.tink.ws/blog/library-librarymanager/</description>
		<content:encoded><![CDATA[<p>James I&#8217;m pretty sure Keith will be referring to an AS 3.0 project. You can use the embed metadata in AS 3.0 projects.</p>
<p>Keith, looked at our library classes?</p>
<p><a href="http://www.tink.ws/blog/library-librarymanager/" rel="nofollow">http://www.tink.ws/blog/library-librarymanager/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: supabok</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9260</link>
		<dc:creator>supabok</dc:creator>
		<pubDate>Fri, 29 Aug 2008 03:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9260</guid>
		<description>Ahhh...thank God for you( and Moock ;)!!</description>
		<content:encoded><![CDATA[<p>Ahhh&#8230;thank God for you( and Moock <img src='http://www.bit-101.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Allen</title>
		<link>http://www.bit-101.com/blog/?p=1435#comment-9259</link>
		<dc:creator>James Allen</dc:creator>
		<pubDate>Fri, 29 Aug 2008 01:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.bit-101.com/blog/?p=1435#comment-9259</guid>
		<description>So, I take it this is a flex project?  I&#039;m used to AS3 in Flash, but have never used the [embed] tag.  Sorry if this is a uninformed question :)</description>
		<content:encoded><![CDATA[<p>So, I take it this is a flex project?  I&#8217;m used to AS3 in Flash, but have never used the [embed] tag.  Sorry if this is a uninformed question <img src='http://www.bit-101.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
