68 237
Assignments Done
99%
Successfully Done
In November 2018

Answer to Question #3088 in Action Script | Flash | Flex | ColdFusion for Marina

Question #3088
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.
Expert's answer
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&#039;ll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions