<?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>Simplistika &#187; parameters</title>
	<atom:link href="http://simplistika.com/tag/parameters/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplistika.com</link>
	<description>Think Simple</description>
	<lastBuildDate>Thu, 13 May 2010 11:48:42 +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>Adding Parameters to addEventListener</title>
		<link>http://simplistika.com/adding-parameters-to-addeventlistener/</link>
		<comments>http://simplistika.com/adding-parameters-to-addeventlistener/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 08:30:08 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[addeventlistener]]></category>
		<category><![CDATA[parameters]]></category>

		<guid isPermaLink="false">http://jared.simplistika.com/?p=356</guid>
		<description><![CDATA[Here&#8217;s how you can easily add parameters to an event listener in AS3. stage.addEventListener(MouseEvent.CLICK, function(e : MouseEvent) : void { fMyFunction(e, "hello world") }, false , 0 , false); function fMyFunction(e : MouseEvent, vMsg:String) : void { trace(vMsg); } Click here to download the sample.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how you can easily add parameters to an event listener in AS3.</p>
<pre lang="actionscript">stage.addEventListener(MouseEvent.CLICK,
	function(e : MouseEvent) : void
	{
		fMyFunction(e, "hello world")
	},
	false , 0 , false);

function fMyFunction(e : MouseEvent, vMsg:String) : void
{
	trace(vMsg);
}</pre>
<p><img src="http://www.simplistika.com/files/f.gif" alt="flash file logo" /> <a href="http://www.simplistika.com/files/EventListenerParameter.fla">Click here to download the sample</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://simplistika.com/adding-parameters-to-addeventlistener/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
