<?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: Monkey Patching FlexSprite to list all event listeners on any Flex component</title>
	<atom:link href="http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/</link>
	<description>A blog about Adobe Flex</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:51:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: flex sdk core classes veraendern - Flashforum</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-209096</link>
		<dc:creator>flex sdk core classes veraendern - Flashforum</dc:creator>
		<pubDate>Sun, 14 Feb 2010 19:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-209096</guid>
		<description>[...] nicht. Man kann richtig lustige Sachen damit machen  Siehe z.B. &quot;Monkey Patching FlexSprite to list all event listeners on any Flex component&quot;   __________________ v.g. Jens   WEBSECTOR.DE &#124; [...]</description>
		<content:encoded><![CDATA[<p>[...] nicht. Man kann richtig lustige Sachen damit machen  Siehe z.B. &quot;Monkey Patching FlexSprite to list all event listeners on any Flex component&quot;   __________________ v.g. Jens   WEBSECTOR.DE | [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TobiasBeuving</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-208610</link>
		<dc:creator>TobiasBeuving</dc:creator>
		<pubDate>Thu, 19 Nov 2009 07:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-208610</guid>
		<description>Hi Doug,

I don&#039;t know if your are aware of it but when I follow the links to the simple example and enhanced flexspy demo - the app starts loading but hangs on &#039;initializing...&#039;. 
Does it work for FP10?
Cheers,
T</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>I don&#8217;t know if your are aware of it but when I follow the links to the simple example and enhanced flexspy demo &#8211; the app starts loading but hangs on &#8216;initializing&#8230;&#8217;.<br />
Does it work for FP10?<br />
Cheers,<br />
T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rosmothifiast</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-207336</link>
		<dc:creator>Rosmothifiast</dc:creator>
		<pubDate>Sat, 20 Dec 2008 04:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-207336</guid>
		<description>Hello! simply super resource</description>
		<content:encoded><![CDATA[<p>Hello! simply super resource</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpookyLuke</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-206765</link>
		<dc:creator>SpookyLuke</dc:creator>
		<pubDate>Thu, 20 Nov 2008 16:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-206765</guid>
		<description>@Srikanth - NB Doesnt work if you are debugging a local app url e.g file:///C:\Developmen\Somthing\Else\MySpunkyApp.swf as there are no url parameters to parse.</description>
		<content:encoded><![CDATA[<p>@Srikanth &#8211; NB Doesnt work if you are debugging a local app url e.g file:///C:\Developmen\Somthing\Else\MySpunkyApp.swf as there are no url parameters to parse.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpookyLuke</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-206764</link>
		<dc:creator>SpookyLuke</dc:creator>
		<pubDate>Thu, 20 Nov 2008 16:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-206764</guid>
		<description>@Srikanth - answer to question 1
	
/**
		 * Obtain the URL of the application
		 */
		public static function getApplicationURL():String
		{
			var application:Application = Application.application as Application;
		    var appName:String = application.className;
		    var appURL:String = application.url;
		    appURL = appURL.replace(appName+&quot;.swf&quot;,&quot;&quot;);
			return appURL;
		}

		/**
		 * Obtain the current list of parameters on the applications url
		 */
		public static function getUrlParamaters():Dictionary
		{
		   var urlParams:Dictionary = new Dictionary(); 
		   var fullUrl:String = ExternalInterface.call(&#039;eval&#039;,&#039;document.location.href&#039;); 
		
		   var paramStr:String = fullUrl.split(&#039;?&#039;)[1];
		   if (paramStr != null)
		    {
		        var params:Array = paramStr.split(&#039;&amp;&#039;);
		        for (var i:int = 0; i &lt; params.length; i++)
		       {
		            var kv:Array = params[i].split(&#039;=&#039;);
		            urlParams[kv[0]] = kv[1];
		        }
		    } 
		
		    return urlParams;
		}

		/**
		 * Indicate whether this application is being run in debug mode
		 */
		public static function isDebugMode():Boolean
		{
				var params:Dictionary = ApplicationUtils.getUrlParamaters();
				if(params.hasOwnProperty(&quot;debug&quot;))
				{
					if(params[&quot;debug&quot;] == &#039;true&#039;)
					{
						return true;
					}
					return false;
				}
				return false;
		}</description>
		<content:encoded><![CDATA[<p>@Srikanth &#8211; answer to question 1</p>
<p>/**<br />
		 * Obtain the URL of the application<br />
		 */<br />
		public static function getApplicationURL():String<br />
		{<br />
			var application:Application = Application.application as Application;<br />
		    var appName:String = application.className;<br />
		    var appURL:String = application.url;<br />
		    appURL = appURL.replace(appName+&#8221;.swf&#8221;,&#8221;");<br />
			return appURL;<br />
		}</p>
<p>		/**<br />
		 * Obtain the current list of parameters on the applications url<br />
		 */<br />
		public static function getUrlParamaters():Dictionary<br />
		{<br />
		   var urlParams:Dictionary = new Dictionary();<br />
		   var fullUrl:String = ExternalInterface.call(&#8216;eval&#8217;,'document.location.href&#8217;); </p>
<p>		   var paramStr:String = fullUrl.split(&#8216;?&#8217;)[1];<br />
		   if (paramStr != null)<br />
		    {<br />
		        var params:Array = paramStr.split(&#8216;&amp;&#8217;);<br />
		        for (var i:int = 0; i &lt; params.length; i++)<br />
		       {<br />
		            var kv:Array = params[i].split(&#8216;=&#8217;);<br />
		            urlParams[kv[0]] = kv[1];<br />
		        }<br />
		    } </p>
<p>		    return urlParams;<br />
		}</p>
<p>		/**<br />
		 * Indicate whether this application is being run in debug mode<br />
		 */<br />
		public static function isDebugMode():Boolean<br />
		{<br />
				var params:Dictionary = ApplicationUtils.getUrlParamaters();<br />
				if(params.hasOwnProperty(&#8220;debug&#8221;))<br />
				{<br />
					if(params["debug"] == &#8216;true&#8217;)<br />
					{<br />
						return true;<br />
					}<br />
					return false;<br />
				}<br />
				return false;<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-192247</link>
		<dc:creator>Srikanth</dc:creator>
		<pubDate>Fri, 03 Oct 2008 19:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-192247</guid>
		<description>Two questions.

1) Can i find if my app is running in debugger or not. The Capabilities.isDebugger() tells if the flash player is a debugger version or not. But i want to know, programatically, if the app is running in debug mode or not.

2) How easy is it to a button to the flex spy that highlights the current component that has the focus?

What version of flexspy did you use to build your extension.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Two questions.</p>
<p>1) Can i find if my app is running in debugger or not. The Capabilities.isDebugger() tells if the flash player is a debugger version or not. But i want to know, programatically, if the app is running in debug mode or not.</p>
<p>2) How easy is it to a button to the flex spy that highlights the current component that has the focus?</p>
<p>What version of flexspy did you use to build your extension.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier Agnetti</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-131559</link>
		<dc:creator>Xavier Agnetti</dc:creator>
		<pubDate>Mon, 28 Jul 2008 09:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-131559</guid>
		<description>My bad.

I just saw your update about that.</description>
		<content:encoded><![CDATA[<p>My bad.</p>
<p>I just saw your update about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier Agnetti</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-131558</link>
		<dc:creator>Xavier Agnetti</dc:creator>
		<pubDate>Mon, 28 Jul 2008 08:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-131558</guid>
		<description>Hi Doug!

Does this code work on the FP release?
I thought Error.getStackTrace() only works in the FP debugger version.</description>
		<content:encoded><![CDATA[<p>Hi Doug!</p>
<p>Does this code work on the FP release?<br />
I thought Error.getStackTrace() only works in the FP debugger version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan alvarez</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-121374</link>
		<dc:creator>ivan alvarez</dc:creator>
		<pubDate>Fri, 11 Jul 2008 17:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-121374</guid>
		<description>Hey doug, this feature works also for Flex 2.0.1 HotFix 3.

Thanks in advanced.

Ivan Alvarez, from Mexico.</description>
		<content:encoded><![CDATA[<p>Hey doug, this feature works also for Flex 2.0.1 HotFix 3.</p>
<p>Thanks in advanced.</p>
<p>Ivan Alvarez, from Mexico.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brant</title>
		<link>http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/comment-page-1/#comment-79002</link>
		<dc:creator>Brant</dc:creator>
		<pubDate>Wed, 30 Apr 2008 07:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/#comment-79002</guid>
		<description>Doug, very nice!
I set the button as visible=&quot;false&quot; and tried to access the panel via Ctrl+F12 and it seems that only the flexspy portion comes up. Anyway to also have your portion also show up using Ctrl+F12. This option is nice as to not have to have the button show all the time.</description>
		<content:encoded><![CDATA[<p>Doug, very nice!<br />
I set the button as visible=&#8221;false&#8221; and tried to access the panel via Ctrl+F12 and it seems that only the flexspy portion comes up. Anyway to also have your portion also show up using Ctrl+F12. This option is nice as to not have to have the button show all the time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

