Displaying 2 results from an estimated 2 matches for "drag_ov".
Did you mean:
draganov
2007 Jun 20
2
Automating swfdec playing
Hi,
I got tired of firing up swfplay, click click click drag, check log
output then restart again. How hard is it to create a mechanism to
emulate a user to control a flash? What I need is a script like this:
sleep 1 # wait for introduction
click 100 100 # click at (100,100)
sleep 1
click Button12
sleep 1
drag 100 100 200 200 # click (100,100), drag to (200,200), release mouse
sleep 1
quit
then
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...fdec_button.c
@@ -87,26 +87,25 @@ swfdec_button_class_init (SwfdecButtonClass * g_class)
}
static guint
-swfdec_button_translate_conditions (guint conditions)
+swfdec_button_translate_conditions (guint conditions, gboolean menu)
{
- /* FIXME: This assumes IDLE<=>OVER_DOWN is the same as DRAG_OVER/OUT, is that correct? */
- static const SwfdecEventType events[] = {
- /* idle => over up */ SWFDEC_EVENT_ROLL_OVER,
- /* over up => idle */ SWFDEC_EVENT_ROLL_OUT,
- /* over up => over down */ SWFDEC_EVENT_PRESS,
- /* over down => over up */ SWFDEC_EVENT_RELEASE,
- /...