search for: onmousemov

Displaying 17 results from an estimated 17 matches for "onmousemov".

Did you mean: onmousemove
2007 May 05
0
integration with movtable
...C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <title>Movtable - List</title> <%= stylesheet_link_tag ''movtable'' %> <%= sort_generateJS %> </head> <body onload="sortableInit()" onmousemove="mouseMove(event)" onmouseup="mouseUp(event)"> <%= render_partial ''../../lib/movtable/table'' %> <%= render_partial ''../../lib/movtable/navigation'' %> <%= render_partial ''../../lib/movtable/filter'...
2006 Mar 16
2
how to distinguish between click and drag?
Hi All I have a sortable <ul> list where each <li> contains a link. e.g. <ul> <li><a>link</a></li> <li><a>link</a></li> <li><a>link</a></li> </ul> How can I go about stopping the click event on the link if the li element has been dragged? Cheers Rob
2006 Jan 02
2
mouse position without event
Hello, Is it possible somehow to get mouse coordinates without using the event mechanism ? I need to get the current mouse position to initialize some div position, but not at page load Tarek _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Apr 05
0
Howto disable Firefox Drag + Drop
Hi, I am trying to implement some custom drag and drop using javascript. However, in Firefox, the drag and drop extension seems to interfere with my custom handling of onMouseDown, onMouseMove and onMouseUp. Once I start to drag the mouse (left-mouse-down + move a few pixels) firefox shows a drag-forbidden symbol (circle with a diagonal bar inside). Does anybody know how to disable this firefox extensions as it makes no sense in my case. Best Regards Peter
2020 Aug 09
0
Interactive graphics
Dear R-Devel list members I'm facing as problem already known and linked to the use of getGraphicsEvent(prompt = "Waiting for input", ???????????????? onMouseDown = NULL, onMouseMove = NULL, ???????????????? onMouseUp = NULL, onKeybd = NULL, ???????????????? onIdle = NULL, ???????????????? consolePrompt = prompt) setGraphicsEventHandlers(which = dev.cur(), ...) getGraphicsEventEnv(which = dev.cur()) setGraphicsEventEnv(which = dev.cur(), env) The problem rises when trying...
2009 Aug 12
3
How to label and unlabel points on scatterplot with mouse pointer
Dear all, How can I label/unlabel points on scatterplot with mouse pointer. As the mouse approches near to point, it should label the closest point, then unlabel when it moves away. How can I do in R? I be very thankful. Thanks and Regards, Hitesh Singla -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
2007 Jun 10
1
variable scope
...klik.start(0, 1); break; case 1: klik1.start(0, 1); break; case 2: klik2.start(0, 1); break; default: klik.start(0, 1); } someListener = new Object(); someListener.onMouseMove = function () { _root.createEmptyMovieClip('rectangle', 10000); borderXcurrent = Math.floor((_xmouse - 13) / CellSize + (_xmouse > borderXstart)) * CellSize + 13; borderYcurrent = Math.floor((_ymouse - 13) / CellSize + (_ymouse > borderYstart)) * CellSiz...
2006 Jan 11
0
RE: Event.observer - unordered list problems
...var element = Event.findElement(event, ''LI''); Element.removeClassName(element, ''btn-hover''); }, However, if I use something like this, everything is working fine: element.onmousemove = function() {Element.addClassName(element, ''btn-hover'')}; element.onmouseout = function() {Element.removeClassName(element, ''btn-hover'')}; Does anybody know what I''m doing wrong? The information transmitted in this electronic mail is intended...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...var element = Event.findElement(event, ''LI''); Element.removeClassName(element, ''btn-hover''); }, However, if I use something like this, everything is working fine: element.onmousemove = function() {Element.addClassName(element, ''btn-hover'')}; element.onmouseout = function() {Element.removeClassName(element, ''btn-hover'')}; Does anybody know what I''m doing wrong? The information transmitted in this electronic mail is intended...
2016 Nov 14
0
getGraphicsEvent() alternative for cairo graphics device?
...; ps<<-head(rbind(lastp,ps%*%xform),n); # for Windows, comment or change appropriately system("sleep 0.02"); NULL }, onMouseMove=function(buttons,x,y) { newX=grconvertX(x,"ndc","user"); newY=grconvertY(y,"ndc","user"); lastp<<-c(newX,newY); NULL; }, onKeybd=f...
2016 Sep 16
1
getGraphicsEvent() questions, minor feature/tweak request, and patch(es).
....Rd (working copy) @@ -24,12 +24,12 @@ } \arguments{ - \item{prompt}{prompt to be displayed to the user in the graphics window} + \item{prompt}{prompt to be displayed to the user in the graphics window, or NA for no prompt} \item{onMouseDown}{a function to respond to mouse clicks} \item{onMouseMove}{a function to respond to mouse movement} \item{onMouseUp}{a function to respond to mouse button releases} \item{onKeybd}{a function to respond to key presses} - \item{consolePrompt}{prompt to be displayed to the user in the console} + \item{consolePrompt}{prompt to be displayed to the use...
2007 Mar 07
0
11 commits - libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h
...dec_event.c index d988ad3..06526fa 100644 --- a/libswfdec/swfdec_event.c +++ b/libswfdec/swfdec_event.c @@ -41,6 +41,75 @@ struct _SwfdecEventList { GArray * events; }; +static const char *event_names[] = { + "onLoad", + "onEnterFrame", + "onUnload", + "onMouseMove", + "onMouseDown", + "onMouseUp", + "onKeyUp", + "onKeyDown", + "onData", + NULL, + "onPress", + "onRelease", + "onReleaseOutside", + "onRollOver", + "onRollOut", + "onDragOver...
2007 Jul 13
0
4 commits - configure.ac libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.h libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h NEWS
...variables++; - } -} - -/** - * swfdec_scriptable_execute: - * @script: a #SwfdecScriptable - * @name: property name that contains the handler - * @n_args: number of arguments to pass to handler - * @args: @n_args arguments that will be passed to handler - * - * Executes a callback function (like onMouseMove) on the scriptable if it is - * defined. - **/ -void -swfdec_scriptable_execute (SwfdecScriptable *script, const char *name, - guint n_args, jsval *args) -{ - JSObject *obj; - jsval fun; - - g_return_if_fail (SWFDEC_IS_SCRIPTABLE (script)); - g_return_if_fail (name != NULL); - g_return_if_...
2016 Nov 14
2
getGraphicsEvent() alternative for cairo graphics device?
Great. Thanks! Paul On 14/11/16 13:41, frederik at ofb.net wrote: > Hi Paul, > > Thank you, for some reason I didn't seem to get an email notification > for your bugzilla comment! > > I will try to send you something shortly. > > Frederick > > On Mon, Nov 14, 2016 at 08:55:20AM +1300, Paul Murrell wrote: >> Hi >> >> The current status is that
2007 Feb 22
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_js.c libswfdec/swfdec_js_mouse.c libswfdec/swfdec_listener.c libswfdec/swfdec_listener.h libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...#include "swfdec_movie.h" @@ -493,6 +494,7 @@ swfdec_player_do_mouse_move (SwfdecPlaye for (walk = player->movies; walk; walk = walk->next) { swfdec_movie_queue_script (walk->data, SWFDEC_EVENT_MOUSE_MOVE); } + swfdec_listener_execute (player->mouse_listener, "onMouseMove"); swfdec_player_update_mouse_position (player); } @@ -501,15 +503,19 @@ swfdec_player_do_mouse_button (SwfdecPla { GList *walk; guint event; + const char *event_name; if (player->mouse_button) { event = SWFDEC_EVENT_MOUSE_DOWN; + event_name = "onMouseDown&q...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...TRING ("success"), + SWFDEC_AS_CONSTANT_STRING ("NetConnection.Connect.Success"), + SWFDEC_AS_CONSTANT_STRING ("onLoad"), + SWFDEC_AS_CONSTANT_STRING ("onEnterFrame"), + SWFDEC_AS_CONSTANT_STRING ("onUnload"), + SWFDEC_AS_CONSTANT_STRING ("onMouseMove"), + SWFDEC_AS_CONSTANT_STRING ("onMouseDown"), + SWFDEC_AS_CONSTANT_STRING ("onMouseUp"), + SWFDEC_AS_CONSTANT_STRING ("onKeyUp"), + SWFDEC_AS_CONSTANT_STRING ("onKeyDown"), + SWFDEC_AS_CONSTANT_STRING ("onData"), + SWFDEC_AS_CONSTANT_S...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...50 --- /dev/null +++ b/test/custom/mouse-scaled.as @@ -0,0 +1,17 @@ +// makeswf -v 7 -s 200x150 -r 1 -o mouse-scaled.swf mouse-scaled.as + +trace ("Simple check for mouse movements on scaled movie"); + +dump = function () { + trace (_xmouse); + trace (_ymouse); +}; +Mouse.addListener ({ onMouseMove: dump, onMouseDown: dump, onMouseUp: dump }); + +_xscale = 10; +_yscale = 1000; + +function quit () { + loadMovie ("FSCommand:quit", ""); +}; +setInterval (quit, 3000); diff --git a/test/trace/button-events-button-5.swf b/test/trace/button-events-button-5.swf deleted file mode...