0 Replies Latest reply on Feb 16, 2009 4:18 AM by cpthk

    Question on event object

      In the official flex tutorial. They called a function and passed in the event object, but they never used that object in that function. Why is that? I have realized several times in Day1 and Day2 tutorials. Here is the tutorial video: Link
      Here is partial of the code:
      import mx.collections.ArrayCollection;
      import mx.rpc.events.ResultEvent;

      private var account:ArrayCollection;

      private function resultHandler(event:ResultEvent):void {
      employeeData = event.result.employees.employee;

      <mx:HTTPService id="employeeService" url="data/employees.xml result="resultHandler(event)" />