• Home
  • About Me
  • AIR Central
  • AS3 Libs
  • Books
  • Flex Central
  • Resources
  • The Guru's
  •  

    sortCompareFuction

    September 18th, 2006

    The sortCompareFuction is used to add a custom sort to grid data that either fails to sort because of case issues or has a labelFormatter in place which causes the sort to fail. In either case the solution is to add a sortCompareFunction to your application. The example shown in this post demonstrates how the built in sort fails when the first letter of the last name is lower case while all of the rest are upper case. Try sorting the two last name columns and observer how the results are different. The last column has a sortCompareFunction attached which does a compare after converting the last name to upper case. You can use this function when you have formatted data and need it to sort properly as well.

    Right Click on application to view & download Source Code.

    Run This Code

    Rich


    Riawave

    September 13th, 2006

    I was recently contacted by Jeremy from richtechmedia.com and given a copy of the Riawave which he defines as a lightweight, rapid development approach specially designed for Flex 2.


    Image courtesy of richtechmedia.com

    As you may or may not know, I am a big supporter of Cairngorm however, it can be very cumbersome when creating small to medium sized applications and can sometimes be very intimidating to developers who are new to Cairngorm or Flex in general.

    Riawave is a very lightweight approach which has many similarities without all of the complexities of Cairngorm. I wouldn’t say that Riawave is a replacement for Cairngorm, I would say it is a great way for new developers to get there feet wet in the world of Flex using many best practices in a structured format. It is also a great solution for small to medium sized applications that have a defined limit to their scope in terms of number of screens, events, etc.

    I will continue to use Cairngorm on my projects that I feel merit its usage, but will definitely put Riawave to use when I am working on a smaller project that has a strict timeline and require a more rapid pace of development.

    If you are a new Flex developer looking for an easy to use methodology that includes many best practices or a veteran Flex developer looking for a rapid development solution for your projects, I would suggest you check out Riawave.

    Riawave source files zip or rar

    Riawave documentation download

    Online demo of a Riawave application try it

    Let’s all say thank you to Jeremy and the guys at richtechmedia.com for making Riawave freely available to the Flex community.

    Rich


    Flex Builder for OS X

    September 12th, 2006

    Duane Nickull has been testing the new Flex Builder for OS X and has posted some pictures.

    Check out the rest of the pictures here

    I can’t wait to get my hands on the new Flex Builder for my MacBook.

    Rich


    My Adobe Xbox 360 Charity Auction

    September 10th, 2006

    Although I am extremely honored and appreciative to have been a winner of the Adobe Flex Developer Derby, I simply don’t have the time to use the Xbox 360 that was given to me and have not even opened the box.

    I have decided to put the xBox 360 up for auction with 100% of the proceeds after the ebay fees being donated to the Toys for Tots Foudation.  This will allow the single prize to be converted to cash and then donated where it will be used to purchase many toys for children this holiday season.

    The auction is on ebay for the next 10 days with an opening bid of $300.  So, if you are looking for a new xBox 360, please bid on this item at http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=330027238013 and know that the money you pay for this item will be going to a good cause.  The xBox is still in the original box and it is the premium version.

    I will post the winning bid and bidders name (if they want it posted) along with the proof of the total donated once the auction has completed.

    Bye the way, the other prize, the plasma tv is hanging on my wall and I am keeping that one. :-)
    Thanks,
    Rich


    Cairngorm Store for Flex 2

    September 5th, 2006

    The Cairngorm 2 store example has been posted to Andrew Rayne’s blog.

    Rich