<?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"
	>
<channel>
	<title>Comments on: Flex Menu Accelerators</title>
	<atom:link href="http://www.rphelan.com/2008/03/17/flex-menu-accelerators/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/</link>
	<description>Exploring Flex, Design, and Visualization</description>
	<pubDate>Sat, 22 Nov 2008 00:42:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: TK</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-1498</link>
		<dc:creator>TK</dc:creator>
		<pubDate>Mon, 27 Oct 2008 22:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-1498</guid>
		<description>Hey, I'm a long time AS3 developer, but very new to Flex. Do you know how I would change a MenuBar's transition when opened? By default, it scales in the items, but I'd like to fade them in, probably using the mx:Fade transition. Do you know how I'd do this? i've been all over the reference, livedocs, and the forums at Adobe, and I can't come up with the solution for this. If you can help me out, I'd really greatly appreciate it. Shoot me an email if you can. Thanks!

 - TK</description>
		<content:encoded><![CDATA[<p>Hey, I&#8217;m a long time AS3 developer, but very new to Flex. Do you know how I would change a MenuBar&#8217;s transition when opened? By default, it scales in the items, but I&#8217;d like to fade them in, probably using the mx:Fade transition. Do you know how I&#8217;d do this? i&#8217;ve been all over the reference, livedocs, and the forums at Adobe, and I can&#8217;t come up with the solution for this. If you can help me out, I&#8217;d really greatly appreciate it. Shoot me an email if you can. Thanks!</p>
<p> - TK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zodiaclove</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-1455</link>
		<dc:creator>zodiaclove</dc:creator>
		<pubDate>Sat, 11 Oct 2008 19:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-1455</guid>
		<description>hola 
I don't  agree with what you wrote really.... 
please explain in detail a bit more for me :d 
 
 
cheers</description>
		<content:encoded><![CDATA[<p>hola<br />
I don&#8217;t  agree with what you wrote really&#8230;.<br />
please explain in detail a bit more for me :d </p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yusheng</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-653</link>
		<dc:creator>Yusheng</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-653</guid>
		<description>Sorry it does not allow me to paste the change I made:
Here is what I did:
in the MenuAccelerators.mxml file:
under the "window" menu, remove all the menu items except the menuitem labeled "Submenu" and its two sub items.

So basically the error occurs if the menu bar item has only one composite menu items</description>
		<content:encoded><![CDATA[<p>Sorry it does not allow me to paste the change I made:<br />
Here is what I did:<br />
in the MenuAccelerators.mxml file:<br />
under the &#8220;window&#8221; menu, remove all the menu items except the menuitem labeled &#8220;Submenu&#8221; and its two sub items.</p>
<p>So basically the error occurs if the menu bar item has only one composite menu items</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yusheng</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-652</link>
		<dc:creator>Yusheng</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-652</guid>
		<description>The change to the code is:
    
              
                
                
            
        </description>
		<content:encoded><![CDATA[<p>The change to the code is:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yusheng</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-651</link>
		<dc:creator>Yusheng</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-651</guid>
		<description>Hi:
It is a nice implementation. I am also trying to create a custom MenuBar with accelerator keys. But I found a very strange error and I don't know why. So I did some test on your code. 
If I remove extra menu items from "Window" menu and run it in Flex Builder 3. The code failed when I tried to open the "window" menu. I am very confused with error. Does any one what exactly happed?
     
              
                
                
            
        

The error message is:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.controls.listClasses::ListBase/drawItem()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:4906]
	at mx.controls::Menu/drawItem()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1202]
	at mx.controls::Menu/mouseOverHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1752]

Thanks very much</description>
		<content:encoded><![CDATA[<p>Hi:<br />
It is a nice implementation. I am also trying to create a custom MenuBar with accelerator keys. But I found a very strange error and I don&#8217;t know why. So I did some test on your code.<br />
If I remove extra menu items from &#8220;Window&#8221; menu and run it in Flex Builder 3. The code failed when I tried to open the &#8220;window&#8221; menu. I am very confused with error. Does any one what exactly happed?</p>
<p>The error message is:<br />
TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at mx.controls.listClasses::ListBase/drawItem()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:4906]<br />
	at mx.controls::Menu/drawItem()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1202]<br />
	at mx.controls::Menu/mouseOverHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\Menu.as:1752]</p>
<p>Thanks very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-318</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 13 Jun 2008 17:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-318</guid>
		<description>Thanks for the feedback guys.  John - keyCodes map to specific keys on the keyboard whereas charCodes map to characters.  It's been a while, so I don't actually remember why i chose keyCodes... maybe I just wanted the challenge of creating the KeyUtils class ;)

Anyway - you could follow Ivan's suggestion of swapping out the use of keyCodes for charCodes, but just remember that many of the combos don't work anyway because they get trapped by the browser.  The REAL solution to the accelerator problem is much much more complex!  If you are interested, use a program like Fiddler2 to capture the javascript files used by Adobe's Buzzword application.  They are intercepting keystrokes outside of the flash player and passing them in via ExternalInterface.</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback guys.  John - keyCodes map to specific keys on the keyboard whereas charCodes map to characters.  It&#8217;s been a while, so I don&#8217;t actually remember why i chose keyCodes&#8230; maybe I just wanted the challenge of creating the KeyUtils class ;)</p>
<p>Anyway - you could follow Ivan&#8217;s suggestion of swapping out the use of keyCodes for charCodes, but just remember that many of the combos don&#8217;t work anyway because they get trapped by the browser.  The REAL solution to the accelerator problem is much much more complex!  If you are interested, use a program like Fiddler2 to capture the javascript files used by Adobe&#8217;s Buzzword application.  They are intercepting keystrokes outside of the flash player and passing them in via ExternalInterface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Hall</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-309</link>
		<dc:creator>John Hall</dc:creator>
		<pubDate>Wed, 04 Jun 2008 03:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-309</guid>
		<description>This is fantastic! Thanks. What do I need to explore to expand it for mac and windows compatibility?</description>
		<content:encoded><![CDATA[<p>This is fantastic! Thanks. What do I need to explore to expand it for mac and windows compatibility?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-59</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Mon, 21 Apr 2008 20:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-59</guid>
		<description>Looks really nice, however because of the use of keycodes instead of charcodes the app becomes OS-dependent (e.g. the letter ‘P’ is keycode 80 in Windows, but 16 on a Mac)</description>
		<content:encoded><![CDATA[<p>Looks really nice, however because of the use of keycodes instead of charcodes the app becomes OS-dependent (e.g. the letter ‘P’ is keycode 80 in Windows, but 16 on a Mac)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-58</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Mon, 21 Apr 2008 20:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-58</guid>
		<description>Looks really nice, however because of the use of keycodes instead of charcodes the app becomes OS-dependent (e.g. the letter 'P' is keycode 80 in Windows, but 16 on</description>
		<content:encoded><![CDATA[<p>Looks really nice, however because of the use of keycodes instead of charcodes the app becomes OS-dependent (e.g. the letter &#8216;P&#8217; is keycode 80 in Windows, but 16 on</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.rphelan.com/2008/03/17/flex-menu-accelerators/#comment-8</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 20 Mar 2008 13:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/archives/7#comment-8</guid>
		<description>Much appreciate the followup...just after I'd hit submit I figured out the ampersand but not the escaping bit. Since you have your head fairly well around MenuItemRenderers right now I'm hoping to run a couple questions past you on the subject.

Couldn't find your email on the blog here so I'm using this space hoping you'll toss me a line at the address included on this reply.

thx
--steve...</description>
		<content:encoded><![CDATA[<p>Much appreciate the followup&#8230;just after I&#8217;d hit submit I figured out the ampersand but not the escaping bit. Since you have your head fairly well around MenuItemRenderers right now I&#8217;m hoping to run a couple questions past you on the subject.</p>
<p>Couldn&#8217;t find your email on the blog here so I&#8217;m using this space hoping you&#8217;ll toss me a line at the address included on this reply.</p>
<p>thx<br />
&#8211;steve&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
