So I am working on a project in which I need to trigger a click event. However, its a little more complicated then just that. I know how to dispatch an event by doing btn.dispatchEvent(), but the problem is I dont know which button it will be. Basically I am creating a wheel that spins. I need to trigger the click event of the element that is at the top and center of the wheel when it stops spinning. Is it possible to trigger a click event at a point? Is there a better way to do this?
Share
Defined in flash.display.DisplayObjectContainer
Or some other display object.