4 Replies Latest reply on Apr 20, 2009 10:12 PM by Lehaleha

    How to stop upload started with URLLoader.load()?

    Lehaleha

      Hi guys,

       

      I have large binary buffer to upload and sometimes need to to stop already started upload session.

      But... I cannot find the way to do this!! I tried URLLoader.close(), but it does nothing.

       

      As Adobe documentation mentions only this useless method, I tried to experiment with removing all event listeners (maybe GC will stop it?...), tried to assign null to the data property of the URLRequest object which I've passed to URLLoader (maybe it will have nothing to send?...).

       

      But all this without any result. It just don't want to stop, and sends, sends, sends this damn request...

       

      Guys, maybe somebody have an idea?