<?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: No Complete Event for Internal Content	</title>
	<atom:link href="https://jessewarden.com/2005/06/no-complete-event-for-internal-content.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2005/06/no-complete-event-for-internal-content.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Mon, 20 Jun 2005 17:57:53 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2005/06/no-complete-event-for-internal-content.html/comment-page-1#comment-2686</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Mon, 20 Jun 2005 17:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=816#comment-2686</guid>

					<description><![CDATA[Thanks Derek!

mx.core.UIObject &#038; mx.core.ExternalContent do just what you showed; which is a good and solid way to test.

However, Loader is a component, already coded &amp; released in Flash MX 2004 &amp; Flex; hoping it&#039;ll get fixed and/or replaced in the next version of components for both products.

Secondly, Flex abstracts this via binding making you go through a go-between which again points the finger of blame at Loader for being &#039;too abstracted&#039;.


]]></description>
			<content:encoded><![CDATA[<p>Thanks Derek!</p>
<p>mx.core.UIObject &amp; mx.core.ExternalContent do just what you showed; which is a good and solid way to test.</p>
<p>However, Loader is a component, already coded &#038; released in Flash MX 2004 &#038; Flex; hoping it&#8217;ll get fixed and/or replaced in the next version of components for both products.</p>
<p>Secondly, Flex abstracts this via binding making you go through a go-between which again points the finger of blame at Loader for being &#8216;too abstracted&#8217;.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Derek Vadneau		</title>
		<link>https://jessewarden.com/2005/06/no-complete-event-for-internal-content.html/comment-page-1#comment-2685</link>

		<dc:creator><![CDATA[Derek Vadneau]]></dc:creator>
		<pubDate>Mon, 20 Jun 2005 17:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=816#comment-2685</guid>

					<description><![CDATA[Still a bit of a hack, but ...
var r = this.attachMovie(resource,&#039;test_mc&#039;,1);
if (r == undefined)
{
// doesn&#039;t exist as resource, must be external.
loaderInstance.loadClip(resource,this);
}

If the resource is internal it will be attached.  If the attachMovie fails, the MovieClipLoader method will be called and then events can be handled normally.  You could trigger the onLoadComplete if the attachMovie is successful, or extend MovieClipLoader to include this as the new loadClip method.

Just a thought.]]></description>
			<content:encoded><![CDATA[<p>Still a bit of a hack, but &#8230;<br />
var r = this.attachMovie(resource,&#8217;test_mc&#8217;,1);<br />
if (r == undefined)<br />
{<br />
// doesn&#8217;t exist as resource, must be external.<br />
loaderInstance.loadClip(resource,this);<br />
}</p>
<p>If the resource is internal it will be attached.  If the attachMovie fails, the MovieClipLoader method will be called and then events can be handled normally.  You could trigger the onLoadComplete if the attachMovie is successful, or extend MovieClipLoader to include this as the new loadClip method.</p>
<p>Just a thought.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
