Search the Community
Showing results for tags 'cancel'.
-
I have some code that checks conditions in the onDragStart handler. I'd like to be able to cancel the drag if a set of conditions are not met. I had assumed that returning false from handler would do it, but was wrong. Is there any clean way to cancel a drag in this case?
-
I'm having trouble in a project in which there's a file queue on a LoaderMax instance, and every time the user clicks in another menu area I'd have to imediatly stop all the loaders in this queue, except one, which would be used in the area the user clicked. I've tried calling `prioritize' giving said item as parameter, but it seems LoaderMax is finishing the current download before starting the prioritized item. Is that possible? By the way, I've tried every possible method (i.e. cancel, unload, pause, dispose), and in every attempt the current downloading file finished loading. P.S.: Simulating a low connection (1MB) on Charles and, using video with this sample: http://www.greensock.com/as/LoaderMax_Demo_Source.zip The download persists with two or more connections.
- 2 replies
-
- pauseunload
- cancel
-
(and 1 more)
Tagged with: