<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>theDeSilva.com&#187; movieclip</title>
	<atom:link href="http://www.thedesilva.com/tag/movieclip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedesilva.com</link>
	<description>Andrew de Silva</description>
	<lastBuildDate>Wed, 04 Aug 2010 19:27:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Calling external swf using loadMovie()</title>
		<link>http://www.thedesilva.com/2008/06/calling-external-swf-using-loadmovie/</link>
		<comments>http://www.thedesilva.com/2008/06/calling-external-swf-using-loadmovie/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 17:58:22 +0000</pubDate>
		<dc:creator>Andrew de Silva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[loadmovie]]></category>
		<category><![CDATA[movieclip]]></category>
		<category><![CDATA[query string]]></category>

		<guid isPermaLink="false">http://www.thedesilva.com/?p=34</guid>
		<description><![CDATA[<img src="http://www.thedesilva.com/img/category_icon//flash_small.png" width="32" height="32" alt="" title="Flash" /><br/>Recently I was working on a flash project that was using Actionscript 2 and it was such a pain trying to use loadClip() and pass in the necessary variables through query string for loading the external swf into a movieclip. I figure I&#8217;ll post this here and hopefully someone who is trying to do so [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.thedesilva.com/img/category_icon//flash_small.png" width="32" height="32" alt="" title="Flash" /><br/><p>Recently I was working on a flash project that was using Actionscript 2 and it was such a pain trying to use loadClip() and pass in the necessary variables through query string for loading the external swf into a movieclip.  I figure I&#8217;ll post this here and hopefully someone who is trying to do so can spend less time goggling for the answer</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// here I set the values of the query string </span>
<span style="color: #808080; font-style: italic;">// for external swf that I want to pass in</span>
<span style="color: #808080; font-style: italic;">// ie. h , w , and img</span>
contentHolder_mc.<span style="color: #006600;">h</span> = h;
contentHolder_mc.<span style="color: #006600;">w</span> = w;
contentHolder_mc.<span style="color: #006600;">img</span> = img;
&nbsp;
contentHolder_mc.<span style="color: #0066CC;">loadMovie</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;nameOfYourSwf&quot;</span>,<span style="color: #ff0000;">&quot;GET&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.thedesilva.com/2008/06/calling-external-swf-using-loadmovie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
