send_mouse_move_to_flash_player
send_mouse_move_to_flash_player($x,$y,$flash_num,$bUseFlashXY=false,$scroll=true); - this function is used to send mouse cursor movement to the flash element on the current page
The function accepts parameters as input:
$x – x - coordinate of the point to move the mouse cursor to. (int)
$y – y - coordinate of the point to move the mouse cursor to. (int)
$flash_num – number of the flash element on the current page. (int)
$bUseFlashXY – use the coordinates of the flash element. If true, the $x and $y parameters pass coordinates relative to the upper - left corner of the flash, and if false – relative to the upper-left corner of the browser (boolean)
$scroll - whether to scroll the browser to the specified point. If false, it will simply move to the specified point. if true, it will automatically scroll to the specified point (boolean).
If the coordinates are empty, the click is made at the current point.
After testing, the function returns the result of its work to the script :
true – successfully moved the cursor to the specified point (boolean)false – operation failed (boolean)