Blog

  • Firefox 1.5 & The Free Dictionary vs. Dictionary.com

    Pre-Firefox 1.5 had this really cool option in the top right quick search. You could type in a word, select the Dictionary.com from the drop down, hit enter, and within seconds confirm if the word you typed was spelled correctly and even hop to the Thesaurus to find another version of the same word on a whim.

    As of 1.5, it’s replaced with The Free Dictionary.com. It’s not as simple as Dictionary.com’s interface, but the worst part of all?

    Try double-clicking the word it finds. It refreshes the page, removing your highlight, thus you can’t copy paste. You can if you drag, but wtf? Talk about the most successful way to f’up the usability your website. Smooth move crackheads!

    My co-worker claims that they do that because they are somehow getting your double-click to register with the ads below the word… I don’t believe it, but am not discounting the possibility. Giving people the benefit of the doubt on the internet is hard.

    …I miss my Dictionary.com…

  • Fake Story? Cingular Patents the Emoticon

    Via Cellular News.

    Just to debunk this story before the blogs take off with it, searching for the number provided by Cellular News at the United States Patent and Trademark Office’s online search does not come up any results.

    Can anyone confirm the patent is real?

  • Changing the Modal Color

    When you create popups in Flash or Flex, you have the option of making them modal. This means that no other content below the window can be clicked on or interacted with. This forces the user to deal with the popup, usually a Window containing an important form, such as a Login window or an Alert that is asking a question.

    You do this by setting the 3rd parameter of PopUpManager.createPopUp to true. By default, Flash and Flex make this modal window invisible. It’s basically this big shield the size of your application that prevents mouse clicks from going through. Some other magic happens behind the scenes to prevent keyboard commands from slipping through.

    While you can skin this invisible shield via editing the symbol PopUpManager uses to create it, called “Modal”. If you just want to set the color to something other than white, I haven’t gotten styles to work with it. You can set the alpha of this shield; the common value is 50%:

    setStyle(“modalTransparency”, 50);

    For the color, you need to get a specific reference to it. There is probably a cleaner way, but this works in both Flash and Flex 1.5:

    import mx.managers.PopUpManager;
    import mx.containers.Window;
    
    private function initApp():Void
    {
            setStyle("modalTransparency", 50);
            var ref = PopUpManager.createPopUp(this, Window, true);
            ref.setSize(320, 240);
            var c:Color = new Color(ref.modalWindow);
            c.setRGB(0x660000);
    }
    

    All popups are created with a reference attached (a.k.a. decorated) to them in the form of giving them the property of modalWindow. This might be pre-defined in UIObject or something allowing strict typing to work. Regardless, now you have a color choice other than white!

  • Presenting on Flex 2 Thursday @ the Atlanta Macromedia User’s Group

    I’ll be presenting on ActionScript 3, Flash Player 8.5, Flex Builder 2, and the Flex 2 Framework at this Thursday’s Atlanta Macromedia User’s Group. I won’t be covering Flex 2 Enterprise Services, but will briefly touch on Blaze (Flash 9). If you don’t know what Flex 2 is, check out Christian Cantrell’s excellent breakdown.

    A quick summary, Flex 2 is a collection of technologies to empower developers to create Rich Internet Applications utilizing the rich media & collaborative capabilities of the Flash Platform for both Enterprise and smaller scale developers. If you are a backend developer (PHP, Java, .NET, ColdFusion, etc.), Flex 2 is the web front-end technology for you. While Flex isn’t necessarely advertised as the migration path for existing Flash Developers, it is by me.

    Come witness a glimpse of the future of RIA development.

    WHAT: January Meeting of the Atlanta Macromedia User Group
    WHO: Jesse Warden presenting the Flex 2 Alpha
    WHEN: Thursday, January 26, 2006, 7:00 PM
    WHERE: Pagaea (http://www.globalgrubbin.com/)
    1082 Huff Road N.W., Atlanta, GA 30318
    NOTE: The Kitchen Is Closed! No food will be served!
    DIRECTIONS: Google your own!
    RSVP: atlmmug.rsvp@gmail.com