<?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: Prana 0.2 released with AS3 Reflection API</title>
	<atom:link href="http://www.herrodius.com/blog/68/feed" rel="self" type="application/rss+xml" />
	<link>http://www.herrodius.com/blog/68</link>
	<description>Thoughts from a software developer</description>
	<lastBuildDate>Wed, 30 Nov 2011 09:13:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Erik Westra</title>
		<link>http://www.herrodius.com/blog/68/comment-page-1#comment-13257</link>
		<dc:creator>Erik Westra</dc:creator>
		<pubDate>Fri, 21 Mar 2008 13:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=68#comment-13257</guid>
		<description>In AS3 you can use [ and ] to accomplish that:

c[&quot;validate&quot; + commandName]();

or:

methodReference = c[&quot;validate&quot; + commandName];
methodReference();

or:

methodReference.apply(null, []);

or:

methodReference.call(null);


Greetz Erik</description>
		<content:encoded><![CDATA[<p>In AS3 you can use [ and ] to accomplish that:</p>
<p>c["validate" + commandName]();</p>
<p>or:</p>
<p>methodReference = c["validate" + commandName];<br />
methodReference();</p>
<p>or:</p>
<p>methodReference.apply(null, []);</p>
<p>or:</p>
<p>methodReference.call(null);</p>
<p>Greetz Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.herrodius.com/blog/68/comment-page-1#comment-12303</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Tue, 06 Nov 2007 18:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=68#comment-12303</guid>
		<description>Hello,

How can I accomplish in AS the java equivalent of below? I want to dynamically invoke a method:

Class c = IncidentRules.class;
Class[] parameterTypes = null;
Method methodName;

methodName = c.getMethod(&quot;validate&quot;+commandName,parameterTypes);
methodName.setAccessible(true);
methodName.invoke(this,null);</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>How can I accomplish in AS the java equivalent of below? I want to dynamically invoke a method:</p>
<p>Class c = IncidentRules.class;<br />
Class[] parameterTypes = null;<br />
Method methodName;</p>
<p>methodName = c.getMethod(&#8220;validate&#8221;+commandName,parameterTypes);<br />
methodName.setAccessible(true);<br />
methodName.invoke(this,null);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.herrodius.com/blog/68/comment-page-1#comment-12239</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 17 Oct 2007 03:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=68#comment-12239</guid>
		<description>Hi, How far did you get with your mock testing framework? I am playing with the idea of implementing a mock object framework in AS3.</description>
		<content:encoded><![CDATA[<p>Hi, How far did you get with your mock testing framework? I am playing with the idea of implementing a mock object framework in AS3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artemy</title>
		<link>http://www.herrodius.com/blog/68/comment-page-1#comment-12151</link>
		<dc:creator>Artemy</dc:creator>
		<pubDate>Fri, 31 Aug 2007 11:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=68#comment-12151</guid>
		<description>Hello. Could you give a hint of library reflection. I.e. how can I programmatically find out which classes are included in SWC or application. I&#039;d like to have a list of classes like [&quot;com.example.flex:MyClass&quot;, &quot;com.example.flex:MyClass2&quot;, ...]
Thank you for ideas!</description>
		<content:encoded><![CDATA[<p>Hello. Could you give a hint of library reflection. I.e. how can I programmatically find out which classes are included in SWC or application. I&#8217;d like to have a list of classes like ["com.example.flex:MyClass", "com.example.flex:MyClass2", ...]<br />
Thank you for ideas!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michal kuklis</title>
		<link>http://www.herrodius.com/blog/68/comment-page-1#comment-11963</link>
		<dc:creator>michal kuklis</dc:creator>
		<pubDate>Tue, 12 Jun 2007 01:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=68#comment-11963</guid>
		<description>thanks
great work. I will play with it over the weekend

cheers!</description>
		<content:encoded><![CDATA[<p>thanks<br />
great work. I will play with it over the weekend</p>
<p>cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

