— Forest and the Trees

Archive
Flex

Here it is. Right-click, view source. I spent less time on this presentation than I ever have. And it was the first presentation written entirely at Characters. Enjoy.
Observer UML!!
The image above was taken from ActionScript 3.0 Design Patterns. The code was also kind of taken from there. Well, the interfaces were anyway.

Read More

Design Patterns group tonight at Brightcove. 7pm 12th floor. We’ll be talking about the Observer pattern.

Read More

UPDATE: Flash on Tap has been postponed to May 2009. It will now be even more awesome!

I’ll be speaking at Flash on Tap this October 7-9 in Boston. This should be a great conference: Flash + Beer = Nothing to Fear? Or something. Anyway, the speaker line up is top notch. I’m pretty psyched to be included in such an impressive group. My topic is Five Minute Design Patterns. Description below…

Screw eight minute abbs. We’ll be learning a new design pattern every five minutes in this high-impact non-aerobic session. That’s ten whole patterns: Adapter, Template, Singleton, Factory, Strategy, Facade, Iterator, Command, Bridge, and Composite. Why so many in so little time? Because patterns are used for many things, but, mostly they are used to impress other developers. So volume counts. “Composite your tree structure!”; “Facade those classes!”; “UML your bridge!”; and “Iterate this!” are just some things you might say after you’ve paid a little bit of attention during this session. Feel the burn!

We’ll see if the preso works (I think it will be fun), but, hey, if it doesn’t, what do you care? You get to drink beer.

Read More

Our designer wanted to know how to skin the FlexLib Window Shade, so I put this together. Might be useful to someone. Shows how to set the button property on the Window Shade – but, more generally (and probably more importantly) shows multiple ways to set item renderers. Right click to view source.

Read More

[UPDATE 26 Jun 2008] – view source is now fully functional

I made some enhancements to the DataGrid footer posted in Alex’s Flex Closet. This supports resizing columns, locked columns, and horizontal scrolling. It is also implemented in both the Data Grid and the Advanced Data Grid. Licensed under MIT (which I believe is the do whatever the hell you want license – commercial, non-commercial, sell it unedited to someone (although that would be morally wrong)).

I haven’t tested these very much. If you find a bug, please comment.

Demo here. The functions that calculate the content of the footers are in the main mxml. Right click to view source.

Read More

OK – well that’ll be tonight. Hilary’s bringing in her big supporters to New York. Bill’s said that he won’t be involved in a presidential campaign for while. And Obama needs 43 delegates to win. All signs point to yes. I’ve updated the Election Center. Unfortunately the state by state data is totally screwed up (not sure if it’s me or CNN (probably me)), so I commented out that tab. I’ll try to fix that tonight.

Read More

Getting near the end – Oregon and Kentucky hold their primaries today. Looks like Clinton will win Kentucky (51 delegates). Obama will win Oregon (52 delegates). And Clinton will continue to smoke the high grade and think she can somehow win. I updated the election center and added a summary tab. The tab contains two charts: a pie chart showing current totals; and a bar chart showing how many delegates each candidate needs to win. Most telling is Clinton needs to win 72% of the remaining delegates to win.

Read More

I’ll be giving a talk on the Bridge Pattern at the BFPUG Design Patterns Group(I really need to update that page) this Wednesday (May 7, 2008). As always, it’ll take place at Brightcove and will start at 7pm. And as always, we will get together for beers afterwards at Characters (which is located beneath Brightcove). Please stop by. These are really fun nights. Map here.

Read More

Updated the counts and added some more charts. Not perfect, but, better. Here it is. Also, lots of bugs when you resize!

Read More

I’ve finally found a way to blog regularly – update primary data. Mississippi data added to the Election Dashboard.

Read More