Simulate A Mouse Click In Flash Using Javascript
Background: I'm developing Greasemonkey scripts for a website. I do not control the Flash file. Question: Is it possible to simulate a mouse click on a button/movie clip in a Flas
Solution 1:
It's not possible unless the SWF implements ExternalInterfaces and opens up a function to be called from Javascript to allow it access to the _root. Even then, the SWF has to have methods inside it to allow calling onclick events. The best you can do is clicking on the object element because Javascript doesn't have a method for simulating a click at a specific (x, y)
Post a Comment for "Simulate A Mouse Click In Flash Using Javascript"