<?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: Function key Icon renderer for flex menus</title>
	<atom:link href="http://blog.xsive.co.nz/archives/152/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xsive.co.nz/archives/152</link>
	<description>Weblog for X$!Ve.co.nz, Campbell Anderson Flex Developer</description>
	<lastBuildDate>Thu, 10 Jun 2010 18:03:40 +1200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Campbell</title>
		<link>http://blog.xsive.co.nz/archives/152/comment-page-1#comment-30757</link>
		<dc:creator>Campbell</dc:creator>
		<pubDate>Mon, 09 Oct 2006 13:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/152#comment-30757</guid>
		<description>Yeah I have since found that you need an instance of the class in the movie to be able to generate one from reflection, and Im waiting for word back on this one. But I will try your RSL way now :o)</description>
		<content:encoded><![CDATA[<p>Yeah I have since found that you need an instance of the class in the movie to be able to generate one from reflection, and Im waiting for word back on this one. But I will try your RSL way now <img src='http://blog.xsive.co.nz/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Boulet</title>
		<link>http://blog.xsive.co.nz/archives/152/comment-page-1#comment-30755</link>
		<dc:creator>Mike Boulet</dc:creator>
		<pubDate>Mon, 09 Oct 2006 13:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/152#comment-30755</guid>
		<description>I got around the class requirement issue by sticking the class definitions in a RSL. So stick the F2 class in a RSL and link to it.</description>
		<content:encoded><![CDATA[<p>I got around the class requirement issue by sticking the class definitions in a RSL. So stick the F2 class in a RSL and link to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Campbell</title>
		<link>http://blog.xsive.co.nz/archives/152/comment-page-1#comment-26225</link>
		<dc:creator>Campbell</dc:creator>
		<pubDate>Fri, 06 Oct 2006 00:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/152#comment-26225</guid>
		<description>Grr looks like you have to have an instance of that object somewhere in the swf for it to work :o( If you try this only the F2 will show.

private function iconFunctionKey(item:Object):Class{
				if(XML(item).attribute(&quot;functionKey&quot;)){
				
	var obj:F2 = new F2();
	var str:String = getQualifiedClassName(obj);
  	//var fKeyClass:Class = 
       detDefinitionByName(&quot;com.xsive.controls.menuClasses::F2&quot;) as Class;
	var fKeyClass:Class = 
        getDefinitionByName(&quot;com.xsive.controls.menuClasses.&quot; + 
        XML(item).attribute(&quot;functionKey&quot;).toString()) as Class;
	//var ClassReference:Class = 
        getDefinitionByName(str) as Class;
       //var instance:Object = new ClassReference();
       return fKeyClass;
     				
    }else{
    	return null;
    }
 }</description>
		<content:encoded><![CDATA[<p>Grr looks like you have to have an instance of that object somewhere in the swf for it to work <img src='http://blog.xsive.co.nz/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ( If you try this only the F2 will show.</p>
<p>private function iconFunctionKey(item:Object):Class{<br />
				if(XML(item).attribute(&#8220;functionKey&#8221;)){</p>
<p>	var obj:F2 = new F2();<br />
	var str:String = getQualifiedClassName(obj);<br />
  	//var fKeyClass:Class =<br />
       detDefinitionByName(&#8220;com.xsive.controls.menuClasses::F2&#8243;) as Class;<br />
	var fKeyClass:Class =<br />
        getDefinitionByName(&#8220;com.xsive.controls.menuClasses.&#8221; +<br />
        XML(item).attribute(&#8220;functionKey&#8221;).toString()) as Class;<br />
	//var ClassReference:Class =<br />
        getDefinitionByName(str) as Class;<br />
       //var instance:Object = new ClassReference();<br />
       return fKeyClass;</p>
<p>    }else{<br />
    	return null;<br />
    }<br />
 }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Campbell</title>
		<link>http://blog.xsive.co.nz/archives/152/comment-page-1#comment-26223</link>
		<dc:creator>Campbell</dc:creator>
		<pubDate>Fri, 06 Oct 2006 00:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/152#comment-26223</guid>
		<description>Cool cheers Josh, man you must have the AS3 manual on your night stand ;o)
 I have updated the classes , but I was interested to find a :: in the class path. Wow getting close to c++ lol
I got that by 
var test:F2 =  new F2();
var fKeyString:String = getQualifiedClassName(test);
// traces com.xsive.controls.menuClasses::F2</description>
		<content:encoded><![CDATA[<p>Cool cheers Josh, man you must have the AS3 manual on your night stand ;o)<br />
 I have updated the classes , but I was interested to find a :: in the class path. Wow getting close to c++ lol<br />
I got that by<br />
var test:F2 =  new F2();<br />
var fKeyString:String = getQualifiedClassName(test);<br />
// traces com.xsive.controls.menuClasses::F2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://blog.xsive.co.nz/archives/152/comment-page-1#comment-26129</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Thu, 05 Oct 2006 17:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/152#comment-26129</guid>
		<description>By the way, that&#039;s in the flash.utils package.</description>
		<content:encoded><![CDATA[<p>By the way, that&#8217;s in the flash.utils package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://blog.xsive.co.nz/archives/152/comment-page-1#comment-26128</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Thu, 05 Oct 2006 17:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/152#comment-26128</guid>
		<description>Are you looking for something like this?

var spriteClass:Class = getDefinitionByName(&quot;flash.display.Sprite&quot;);</description>
		<content:encoded><![CDATA[<p>Are you looking for something like this?</p>
<p>var spriteClass:Class = getDefinitionByName(&#8220;flash.display.Sprite&#8221;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
