<?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: AttachMovie &amp; Loaded Clips</title>
	<atom:link href="http://mabblog.com/blog/2007/04/attachmovie-loaded-clips/feed/" rel="self" type="application/rss+xml" />
	<link>http://mabblog.com/blog/2007/04/attachmovie-loaded-clips/</link>
	<description>Web, Software, and Design</description>
	<lastBuildDate>Tue, 20 Dec 2011 07:15:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dale Bradshaw</title>
		<link>http://mabblog.com/blog/2007/04/attachmovie-loaded-clips/comment-page-1/#comment-25214</link>
		<dc:creator>Dale Bradshaw</dc:creator>
		<pubDate>Mon, 11 Jun 2007 22:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://mabblog.com/blog/?p=168#comment-25214</guid>
		<description>Hi,

This is working nicely, but initObject:Object seems to be ignored in my tests. Any idea what&#039;s up?

thanks,

Da;e</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is working nicely, but initObject:Object seems to be ignored in my tests. Any idea what&#8217;s up?</p>
<p>thanks,</p>
<p>Da;e</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://mabblog.com/blog/2007/04/attachmovie-loaded-clips/comment-page-1/#comment-17042</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 01 May 2007 12:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://mabblog.com/blog/?p=168#comment-17042</guid>
		<description>Actually, normally if your attatching a movie that is located in the current movie&#039;s library, you can do

var mc = this.attachMovie()
mc.onPress = function() {}

and the onPress event handler will be registered, unless of course your using a custom class with your attatched asset, then its different.</description>
		<content:encoded><![CDATA[<p>Actually, normally if your attatching a movie that is located in the current movie&#8217;s library, you can do</p>
<p>var mc = this.attachMovie()<br />
mc.onPress = function() {}</p>
<p>and the onPress event handler will be registered, unless of course your using a custom class with your attatched asset, then its different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bartek</title>
		<link>http://mabblog.com/blog/2007/04/attachmovie-loaded-clips/comment-page-1/#comment-16995</link>
		<dc:creator>bartek</dc:creator>
		<pubDate>Tue, 01 May 2007 07:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://mabblog.com/blog/?p=168#comment-16995</guid>
		<description>damn... please delete above.

Ofcourse you cant do:
var mc:MovieClip = this.attachMovie ();
mc.onPress = sth..

onLoad handler has not occured yet.

but....

class Foo extends MovieClip {
public var s:String;
}

and then:

var mc:Foo = Foo (this.attachMovie)
mc.s = &quot;blah&quot;

has effect

movie clips, associated with classes are precompile, you might say.

but thanks Adobe, we&#039;ve got AS3.0</description>
		<content:encoded><![CDATA[<p>damn&#8230; please delete above.</p>
<p>Ofcourse you cant do:<br />
var mc:MovieClip = this.attachMovie ();<br />
mc.onPress = sth..</p>
<p>onLoad handler has not occured yet.</p>
<p>but&#8230;.</p>
<p>class Foo extends MovieClip {<br />
public var s:String;<br />
}</p>
<p>and then:</p>
<p>var mc:Foo = Foo (this.attachMovie)<br />
mc.s = &#8220;blah&#8221;</p>
<p>has effect</p>
<p>movie clips, associated with classes are precompile, you might say.</p>
<p>but thanks Adobe, we&#8217;ve got AS3.0</p>
]]></content:encoded>
	</item>
</channel>
</rss>

