<?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: addFrameScript with parameters</title>
	<atom:link href="http://www.dreaminginflash.com/2007/09/20/addframescript-with-parameters/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dreaminginflash.com/2007/09/20/addframescript-with-parameters/</link>
	<description>There is no universally agreed-upon biological definition of dreaming</description>
	<pubDate>Wed, 07 Jan 2009 18:41:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ivan Valadares</title>
		<link>http://www.dreaminginflash.com/2007/09/20/addframescript-with-parameters/comment-page-1/#comment-283</link>
		<dc:creator>Ivan Valadares</dc:creator>
		<pubDate>Wed, 16 Apr 2008 10:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dreaminginflash.com/?p=9#comment-283</guid>
		<description>i think what you want, is something like this :


for (var i:int=0;i &#60; mc.currentLabels.length;i++)
{				
     if (mc.currentLabels[i].name=="frame_name")
     {          
       mc.addFrameScript(mc.currentLabels[i].frame-1,function);     
    }
}


Where mc is your movieclip and frame_name is your frame name, for more details check my previous post on frame labels: 
&lt;a href="http://www.dreaminginflash.com/2007/09/26/11/" rel="nofollow"&gt;http://www.dreaminginflash.com/2007/09/26/11/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>i think what you want, is something like this :</p>
<p>for (var i:int=0;i &lt; mc.currentLabels.length;i++)<br />
{<br />
     if (mc.currentLabels[i].name==&#8221;frame_name&#8221;)<br />
     {<br />
       mc.addFrameScript(mc.currentLabels[i].frame-1,function);<br />
    }<br />
}</p>
<p>Where mc is your movieclip and frame_name is your frame name, for more details check my previous post on frame labels:<br />
<a href="http://www.dreaminginflash.com/2007/09/26/11/" rel="nofollow">http://www.dreaminginflash.com/2007/09/26/11/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: compelo</title>
		<link>http://www.dreaminginflash.com/2007/09/20/addframescript-with-parameters/comment-page-1/#comment-282</link>
		<dc:creator>compelo</dc:creator>
		<pubDate>Wed, 16 Apr 2008 07:07:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dreaminginflash.com/?p=9#comment-282</guid>
		<description>how about doing a something like
addFrameScript("frame_name",function)

can that be done?</description>
		<content:encoded><![CDATA[<p>how about doing a something like<br />
addFrameScript(&#8221;frame_name&#8221;,function)</p>
<p>can that be done?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo</title>
		<link>http://www.dreaminginflash.com/2007/09/20/addframescript-with-parameters/comment-page-1/#comment-253</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Fri, 28 Mar 2008 12:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.dreaminginflash.com/?p=9#comment-253</guid>
		<description>Ah, very  nice. Didn't even think about using a Delegate since its AS3 but its so obvious now. Feels a little weird though :)</description>
		<content:encoded><![CDATA[<p>Ah, very  nice. Didn&#8217;t even think about using a Delegate since its AS3 but its so obvious now. Feels a little weird though <img src='http://www.dreaminginflash.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.313 seconds -->
