RSS LinkedIn Twitter

Archive for May, 2009

So the interaction designers decided that the branches of a menu needed to be selectable (picture a warped checkbox tree, only it’s a menu… and there aren’t any checkboxes). The default behavior of a Menu in Flex can be described as follows: 1. If you click on a leaf, the leaf is selected. 2. If […]

Friday, May 1st, 2009 at 21:41 4 comments

I recently had some problems responding to focusIn and focusOut events, trying to handle them from my MXML code. After some experimentation and poking around, I discovered the solution was to override the focusInHandler and focusOutHandler methods. These are protected methods inherited mx.core.UIComponent class. My particular application was to stop a timer that was triggering […]

Friday, May 1st, 2009 at 21:21 0 comments

In the little suite of console widgets I created, I was having more difficulty than necessary getting my console to scroll to the bottom as text was added. On account of (what I suspect were) timing issues, when I tried executing console.verticalScrollPosition = console.maxVerticalScrollPosition; the maxVerticalScrollPosition has not been updated to reflect the text that […]

Friday, May 1st, 2009 at 21:09 2 comments

I needed to build a simple command line interpreter for an application I am building, well, I didn’t need to but I wanted something inconspicuous that the testers (and interaction designers) wouldn’t see and complain about. So I threw something together, it was fun. Two basic operations I was constantly needing to do was to […]

Friday, May 1st, 2009 at 20:50 0 comments