Mar
16

RIAdventure 2009 has been over for a few weeks now and I'm missing the sun and relaxation already. It was great to get away from the office and shut off the phone and laptops for a full five days. I enjoyed hanging out with those that came along and I want to give HUGE props to Joshua Cyr for arranging the trip. He was like a travel guide making sure everyone knew what was going on, where we were supposed to meet to not miss the shuttle ride to the ship and as always was a joy to hang out with. I'm definitely looking forward to the possibility of a second RIAdventure in 2010 but in the meantime I have some photos to help make the weight a little more bearable.

For those curious what RIAdventure was all about you can view all the Flickr group photos here. I've also posted my photos to Flickr as well as three videos (of a super awesome Segway tour!) in my RIAdventure Cruise 2009 set.

Here's a slideshow for those that don't want to manually click through photos on Flickr.

Mar
16

I've blogged before about embedding fonts in Flex applications by first creating an embedded font in a Flash movie. The process is pretty simple and works well with one large caveat, your final SWF is larger based on the file size of any embedded fonts. Why is this bad? If you've embedded four of your favorite fonts and your app is one big Flash movie or Flex application your overall app size is increased to include the font resources.

Wouldn't it be better if you could load the fonts at runtime only when they're needed? Well, you can! Lee Brimelow recorded a fifteen minute tutorial showing you how to use Flash CS4 and Flex SDK metadata to create runtime loaded fonts. He walks through the entire process including selecting a font, writing the ActionScript 3 code to embed a font, restricting the font to certain glyphs, and then embedding the external font movie into a new, separate movie at runtime.

As Lee points out towards the end of the tutorial, using runtime loaded fonts should be considered a best practice if you're using Flash CS4. You can do what we've always been able to do and embed a font directly in the Flash CS4 library, but why tax your entire application this way and why include all the glyphs if you don't need them?