I have an Flash component using ActionScript 3, which supports drag and drop. I have a requirement to drag something out of the Flash app and drop it elsewhere on the page.
I can do drag and drop within the HTML page using HTML5's drag and drop support, but I'm not sure how to integrate this with the drag and drop within the Flash app.
One idea would be to detect a drag leaving the Flash stage, and trigger an HTML DOM element's drag using JavaScript. However I'm not sure how to trigger an HTML element to start being dragged without actually clicking on it. Is this possible, or alternatively is there some other way to span drag-and-drop between Flash and HTML5?