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) ;
content.addEventListener(MouseEvent.CLICK, onMouseClick);
content.dispatchEvent(newEv);
function onMouseClick executed but my button on swf is not clicked !!!!
Thank you very much for any help.
1
Expert's answer
2011-06-07T06:05:23-0400
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.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment