2 Replies Latest reply on Aug 15, 2006 8:28 PM by asden

    why would you use actionscript for events

    asden
      Just downloded and installed Flex and working my way through the tutorials (looks brilliant). However the 'event' tutorial shows two ways of creating an event and associating it with an object. The first is using the design view to place a function call in the 'click' property for the object - one line, takes seconds to insert. The second method involves writing several lines of actionscript and MXML in three seperate locations.

      What am I missing here? Why on earth would someone choose the second (actionscript) method when the MXML method takes seconds and is much less complex?