How do you use java to trigger buttons and other inputs in a flash animation besides the robot class?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If flash client is unaware of your Java backend, then there’s no special way you could do it. There are some scripting environments that allow you to imitate keyboard and mouse input, like Xdotool, but there’s nothing special to it and Java, it’s just an external emulator tool with its own scripting language. Also note that Flash requires X-server (window-server) to run, so that if you need to run it on a headless server, this may be a bit of a problem…