RSS LinkedIn Twitter

Archive for the ‘Flex 3’ Category

Just for fun I wrote a simple ShortcutManager this evening, it turned out to be an interesting little project and taught me a few things about Functions. It’s by no means finished, I’ll detail a few planned improvements after I go over it’s usage. My goals were to have a static registry that the application […]

Tuesday, August 18th, 2009 at 22:08 0 comments

One of the projects I’m working on right now requires me to detect when changes to an object have occurred, so as to enable or disable some “OK”, “Apply” and “Cancel” buttons in the appropriate context.  For the longest time I’ve been thinking I was going to implement this with some sort of data binding, […]

Saturday, July 25th, 2009 at 22:09 0 comments

The default minimum height of the scroll thumb is about 10 pixels, which my client felt was a little too small (their data sets usually run into the several-hundreds, which is enough to push it to the minimum at most resolutions). So I set about trying to fix the problem. There was no style or […]

Tuesday, July 21st, 2009 at 22:40 0 comments

My most recent monkey patch to the Flex framework code took place in the Panel class.  It is possible to drag a Panel completely off the screen, such that the user has no way of dragging it back should they release the mouse button. Panel has a private handler private function systemManager_mouseMoveHandler (event:MouseEvent) : void […]

Tuesday, July 21st, 2009 at 22:20 0 comments

I enjoyed reading Learning Flex 3, by Alaric Cole… which is saying something, because there aren’t very many “Flex for beginner”-type books I can stand to read these days.  Aside from being very easy to read as far as technical books go, here are a few things that really stood out: First, the book is […]

Tuesday, July 14th, 2009 at 08:09 0 comments

I’ve been pretty busy the past two months finishing up a project for my client.  I may have mentioned it before, but their creative vision is pretty intense (especially considering this is an in-house app… in my limited experience I’ve never seen so many resources allocated toward getting the look and feel of an in-house […]

Sunday, July 12th, 2009 at 16:10 0 comments

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