RSS LinkedIn Twitter

Archive for the ‘Flex 4’ Category

Strictly speaking, bit strings are not nearly as easy to understand as named boolean variables; but there are situations when they can simplify or eliminate the need for long boolean expressions. Consider my recent post about the ShortcutManager. There are three control keys that may or may not be pressed at any given time. This […]

Wednesday, August 19th, 2009 at 14:29 0 comments

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

I won’t exactly be extending a SkinnableComponent in this post, I’ll be extending the Button (which extends SkinnableComponent) and creating a few new skins for it. Extending the SkinnableComponent is almost identical to extending the SkinnableContainer (see my previous post). You won’t need the contentGroup, of course. I wanted to illustrate the power of Flex’s […]

Monday, August 17th, 2009 at 23:05 0 comments

I’ve just created my first Flex 4 component, and loved doing it. It’s not entirely finished, but I wanted to share what I learned for those who may follow after me. In the component proper, some things to remember: 1. Extend SkinnableContainer. 2. Declare the skin states using metadata brackets. In my case: [as3][SkinState("collapsed")][SkinState("expanded")][/as3] 3. […]

Monday, August 17th, 2009 at 22:28 0 comments

I’ve finally started a serious investigation into Flex 4. Unfortunately it takes me a while to get around to these things, especially in the middle of a project with 2 developer casualties thus far. The project is winding down a bit, the interaction designers are finally off the project, and I’ve had a bit more […]

Monday, August 17th, 2009 at 21:56 2 comments