June 16, 2009
In my most recent Adobe Flex project, I am storing color in the database as a hexadecimal number. However, Flex’s color picker widget (mx:ColorPicker) stores color values in decimal format. Now, I could use PHP’s dechex() function to convert the number, but I’d much rather send the data over in the proper format. After much [...]
July 25, 2008
Just thought that I’d post some tidbits of knowledge that I’ve learned today: To properly display multi-line ItemRenderers using one of Flex’s list-based controls, you need to set the list control’s "variableRowHeight" property setting to true. If your ItemRenderer’s size changes dynamically based on the supplied content (ex: long blocks of text), you’ll need to [...]
July 3, 2008
In my current Flex-based project, I am creating several labels that act like hyperlinks but was having trouble changing the cursor type to the traditional “hand.” After some moderate searching, I found out that you have to declare three properties: useHandCursor = true; buttonMode = true; mouseChildren = false; With these properties set, the mouse [...]
July 2, 2008
I just added a projects page that lists my current and past projects. It’s still a work in progress, but it’s getting there. Also, I recently pushed out the source of my Flex-based FileBrowser application, available at http://adam-carter.net/code/flex/FileBrowser/. Note that documentation is still pending.