<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: The parentheses operator</title>
	<link>http://www.bigroom.co.uk/blog/the-parentheses-operator/</link>
	<description>Actionscript developer, consultant and troubleshooter</description>
	<pubDate>Fri, 21 Nov 2008 05:23:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: hitdabrake</title>
		<link>http://www.bigroom.co.uk/blog/the-parentheses-operator/#comment-28178</link>
		<pubDate>Fri, 24 Oct 2008 18:51:58 +0000</pubDate>
		<guid>http://www.bigroom.co.uk/blog/the-parentheses-operator/#comment-28178</guid>
					<description>Excellent explanation. Just what I needed to understand. Thanks!</description>
		<content:encoded><![CDATA[<p>Excellent explanation. Just what I needed to understand. Thanks!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: pelachrum</title>
		<link>http://www.bigroom.co.uk/blog/the-parentheses-operator/#comment-27457</link>
		<pubDate>Thu, 24 Jul 2008 22:27:42 +0000</pubDate>
		<guid>http://www.bigroom.co.uk/blog/the-parentheses-operator/#comment-27457</guid>
					<description>That explains things all right, thanks

Here's my issue... what if I want to create a reference to a function but not call it right away (much like in your eventListener example) BUT I need to define arguments to pass at the time of defining the function

addEventListener( MouseEvent.CLICK, clickHandler(someArg) );

that calls the function right away, meanwhile I  need it to wait for an event and THEN use the argument</description>
		<content:encoded><![CDATA[<p>That explains things all right, thanks</p>
<p>Here&#8217;s my issue&#8230; what if I want to create a reference to a function but not call it right away (much like in your eventListener example) BUT I need to define arguments to pass at the time of defining the function</p>
<p>addEventListener( MouseEvent.CLICK, clickHandler(someArg) );</p>
<p>that calls the function right away, meanwhile I  need it to wait for an event and THEN use the argument
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
