0 Replies Latest reply on May 18, 2010 12:42 AM by ipwnzphp

    Storing NearID In MySQL Database

    ipwnzphp

      i have made my data/service connection and done a test using the test tool and all is fine. But when it comes down to the code aspects i am getting lost on what should be done here. i am trying to store my "nearid" in my database.

       

      Here is the service code the gen gives me.

       

      protected function updatePeers(item:Peers):void {
      updatePeersResult3.token = peersService.updatePeers(item);
      }

       

      How can i call this function on app load and tell it what data to update my db with? Thanks!