Category: Flex

  • Forcing Landscape Printing in Flex 2 & 3

    I’ve been working on a Flex app where I needed to force landscape printing to ensure it would print out well.  Relying on the user to choose landscape won’t work.  Steven Sacks had the original solution in AS2/AS1. Darron Schall had some additional advice for Flex 1.5 built upon from Lin Lin’s advice.  I’m using Flex 3 with AS3, so had to build upon their work.  There were also some additional things I needed to do that they didn’t mention.  The additional items are embedding fonts, forcing validation, and making the right choice between vector & bitmap printing.

    (more…)

  • No Mediator vs. No Singleton in Cairngorm & PureMVC

    I had an errand to run yesterday and my peer at ESRIA, Brian Riley, had some interesting news, so it was a perfect time to call. After we discussed his good news, I then veered the conversation to lack of a formalized Mediator in Cairngorm to get his thoughts. Also known as “Abstract Brian”, he’s a self-proclaimed OOP Purist, always striving for writing the most maintainable, well architected code. He’s also a Cairngorm fan.

    (more…)

  • Being Independent & Making Money Using Flex: My 360Flex Speech

    …now with 200% more “typically”!

    I was originally scheduled to speak about Making Bling with Flex at the 360Flex conference here in Atlanta. I then got the flu, learned I needed to have an organ removed at the emergency room, and missed the entire conference. Doug & Juan filled in for me. Days later after the surgery, upon regaining some semblance of consciousness, I received “get well” cards signed by the Flex community from the conference (thanks for mailing, Leif!).

    (more…)

  • Gaia 2.2 Released

    I’m using Gaia , the framework for Adobe Flash , for one of my projects. As a n00b, I’ve screwed up my site.xml a few times since I didn’t read the manual. Gaia 2.2 helps a tad in that regard by now validating your site.xml before it goes about scaffolding the whole thing wrong. Having to delete all of the scaffolded classes and FLA’s for a new project 5 times because I’m a moron was frustrating. Another thing that’s nice is Steven finally put event metadata tags on classes, including on some interfaces. Since I code mostly in Flex Builder , I can actually get code hints now when doing addEventListener.
    (more…)