1 Reply Latest reply on Nov 25, 2008 10:49 AM by wkolcz

    ActionScript RemoteObject

    wkolcz Level 1
      I have a remoteobject created in AS in my constructor:

      var trackerDAO:RemoteObject = new RemoteObject();
      trackerDAO.destination = "ColdFusion";
      trackerDAO.source="FXVideo.edu.umich.video.trackerDAO";
      trackerDAO.addEventListener(FaultEvent.FAULT, alertFault);

      I am trying to invoke a method of it in another part of my code
      trackerDAO.countIt(addOne, results, action, source);

      But flex builder is giving me this error:
      1120: Access of undefined property trackerDAO.

      What am I missing or how can it be done? Thanks.