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.: