Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Resume of Cal Evans
  • Nerd Herding
  • Talks
  • Cal Builds

Posts Tagged ‘callbacks’

Custom Events vs. Callbacks in ActionScript

Monday, June 21st, 2010

Dear Reader,

Having just completed an article on Callbacks in ActionScript and having previously written about custom events in ActionScript I thought I would take a few minutes and contemplate on the difference between the two and when I see each being useful. Bear in mind that I still have only a small amount of experience in Flex and ActionScript. This is more of a straw man post than a definitive guide and I welcome thoughtful criticisms and comments.

Both callbacks and events allow us to respond to events, the difference is how and to an extent, how complex. Custom events are a bit more complex to code and maybe that is why I see callbacks as more useful on a day to day basis.
(more…)

Tags: actionscript, best practices, callbacks, custom events, flex, object oriented programming
Posted in Flex, Programming | Comments Off on Custom Events vs. Callbacks in ActionScript

 
  • My Books

    Creating a Brown Bag Lunch Program
    Iterating PHP Iterators
    Culture of Respect book cover
    Signaling PHP
    Going Pro book cover

  • My Projects

     

    Day Camp 4 Developers

  • Follow me on twitter!


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).