Results 1 to 2 of 2
  1.    #1  
    I have a scene that gets pushed on top of the main scene which makes an AJAX request, which works fine.

    If the user makes the "back" swipe gesture, the scene gets popped off and returns to the main scene. However, the AJAX request still is alive and when the packet comes back from the server, it goes to the success function which tries to access stuff that's not available anymore because the scene was popped.

    I tried "this.ajaxReqeust.abort();" and "this.ajaxRequest = null;" in the cleanup without success. Anybody know how to abort the AJAX? Help?
    mobigamedepot.com
  2. mosdl's Avatar
    Posts
    781 Posts
    Global Posts
    787 Global Posts
    #2  
    this.ajaxRequest.transport.abort();
    Apps: MyQ for Netflix (Phone/TouchPad), Giantbomb (Phone), Excavate (Reddit/Digg clients for TouchPad)

Posting Permissions