Answer to Question #3088 in Action Script | Flash | Flex | ColdFusion for Marina
I have flex 3 application with loaded swf file. How can I simalate mouse click on my loaded swf on x y coordinates ?? On this x y point my loaded swf has a button. I need sumalate to click this button without real mouse click.
My code :<mx:SWFLoader id="content" ..../>
var newEv:MouseEvent = new MouseEvent(MouseEvent.CLICK, true, false, x0 , y0) ;
function onMouseClick executed but my button on swf is not clicked !!!!
Thank you very much for any help.
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.