Displaying 20 results from an estimated 32 matches for "startdrag".
Did you mean:
start_tag
2005 Jul 19
1
Nested drag and drop rendering issue with ie
...t;
Both the ''pages'' and ''groups'' are setup up as sortable drag and drops. This
works well in Firefox. On IE though, when clicking and moving a group(inner
child), the parent is also moved causing quite a mess. I''ve tracked the
problem down to the startDrag function of the Draggable object. I fixed the
issue by adding the code below.
startDrag: function(event) {
//**MOD BELOW*/
if (!event) var event = window.event;
event.cancelBubble = true;
if (event.stopPropagation) event.stopPropagation();
//**MOD ABOVE**/
I have no idea if this...
2006 Mar 07
1
Sortables/Draggables and overflow
...quot;visible" and I try to drag something out of the list, the draggables
are dragged underneath the “border” ( the hidden area of the container)
and thus become partly or completely invisible. Any ideas to prevent
this from happening?
I think, a future solution might be to immediately (on startDrag) detach
the draggable element from its container and attach it to something like
body, but that would involve a lot of changes, I guess.
Thanks,
- Julian
--
Posted via http://www.ruby-forum.com/.
2005 Aug 12
0
OnDrag callback. Is there such a thing?
I''ve asked this question before but posted it at the
wrong place. Anyways, I was trying to find out if
there is an OnDrag callback that I can use in
DragDrop.js; something that is called as soon as the
draggable is moved from its position, similar to the
startDrag, cancelDrag and endDrag callbacks available
in rico.js (www.openrico.org). If there is such a
callback, could you please show me a quick 2 line
implementation client side.
I''ve already tried this while creating the draggable
like so:
new Draggable(''dragthisBox'',{revert:...
2007 Aug 27
0
8 commits - libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h test/trace vivified/core
...2
libswfdec/swfdec_as_interpret.c | 35
libswfdec/swfdec_as_number.c | 2
libswfdec/swfdec_initialize.as | 5
libswfdec/swfdec_initialize.h | 210 +-
test/trace/Makefile.am | 3
test/trace/crash-0.5.2-startdrag.as | 9
test/trace/crash-0.5.2-startdrag.swf |binary
test/trace/invalid-variable-name-5.swf |binary
test/trace/invalid-variable-name-5.swf.trace | 2091 ++++++++++++++++++++++++++-
test/trace/invalid-variable-name-6.swf |binary
test/trace/invalid-variable-name-6....
2007 Oct 28
1
2 commits - libswfdec/swfdec_as_interpret.c test/trace
...;otte at gnome.org>
Date: Sun Oct 28 19:48:29 2007 +0100
Divide by zero crashes in Flash 4
diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am
index d150370..0732b48 100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -380,6 +380,9 @@ EXTRA_DIST = \
crash-0.5.2-startdrag.as \
crash-0.5.2-startdrag.swf \
crash-0.5.2-startdrag.swf.trace \
+ crash-0.5.3-divide-by-zero.as \
+ crash-0.5.3-divide-by-zero.swf \
+ crash-0.5.3-divide-by-zero.swf.trace \
currentframe.swf \
currentframe.swf.trace \
date.as \
diff --git a/test/trace/crash-0.5.3-divide-by-zero.as b/te...
2005 Aug 15
6
setting position for draggables?
Hi list,
how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it.
Thanks in advance!
Martin
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken:
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi !
I have the following:
<li id="photo_<%= @photo.id %>" class="photo">
<%= link_to(image_tag(url_for_file_column(:photo, :picture)),
{:action => ''photo'', :id => @photo},
{:title => @photo.description}) %>
</li>
<script type="text/javascript" language="JavaScript"><!--
2005 Sep 29
14
Draggables and overflow div''s revisited
I have two scrollable div''s (overflow:auto), one with
a list of elements (the source) and the other is the
drop target (dest).
I''ve enabled ghosting so that the drag element gets
out of the scrollable box (good).
Interesting, at least on Firefox, the ghosted drag
ends up going ''under'' the destination div when I drag
it. No amount of z-order fidding seems to
2005 Jul 20
3
examples of drag n drop
...;pages'' and ''groups'' are setup up as sortable drag and drops.
> This
> works well in Firefox. On IE though, when clicking and moving a
> group(inner
> child), the parent is also moved causing quite a mess. I''ve tracked the
> problem down to the startDrag function of the Draggable object. I fixed
> the
> issue by adding the code below.
>
> startDrag: function(event) {
> //**MOD BELOW*/
> if (!event) var event = window.event;
> event.cancelBubble = true;
> if (event.stopPropagation) event.stopPropagation();
> //**MOD ABOV...
2007 Oct 15
0
8 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c libswfdec/swfdec_sound.h test/trace
...structor))) {
- SWFDEC_WARNING ("%s is not a constructor", name);
+ SWFDEC_WARNING ("not a constructor");
goto fail;
}
commit dd6073c7c787d63fade4d1d0cde9916e39675bf9
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Oct 15 18:15:44 2007 +0200
free startDrag action from swfdec_as_context_eval()
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 2d8b733..a3c0c15 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1599,9 +1599,6 @@ swfdec_action_start_drag (SwfdecAsContext *cx, guint a...
2006 Jan 30
0
Draggable with auto-scroll
...fset
and commented out the 2 lines below it where you were adding the
scrollLeft and scrollTop values to the p[0] and p[1] values. Now it
works just fine. See the new updateDrag function below. Why were you
using Position.page?
updateDrag: function(event, pointer) {
if(!this.dragging) this.startDrag(event);
Position.prepare();
Droppables.show(pointer, this.element);
Draggables.notify(''onDrag'', this, event);
this.draw(pointer);
if(this.options.change) this.options.change(this);
if(this.options.scroll) {
//if(this.scrollInterval) this....
2007 Jun 17
2
Branch 'as' - libswfdec/swfdec_as_interpret.c
libswfdec/swfdec_as_interpret.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
New commits:
diff-tree 38fbc1389267e593b44041018cbb1750bdcce0fb (from aaca94203d8a0ccb8feb32c0d57df3401fca0350)
Author: Benjamin Otte <otte at gnome.org>
Date: Sun Jun 17 14:19:45 2007 +0200
actually convert the values to a string when comparing strings
diff --git
2007 Jan 29
0
Branch 'interpreter' - 18 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_sound.c libswfdec/swfdec_pattern.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_script.c
..., { NULL, swfdec_action_binary, swfdec_action_binary, swfdec_action_binary, swfdec_action_binary } },
diff-tree 766926a5baf0ca465c0010f2cf157a41498cd841 (from e5233b84a86161a483eb16754dfd89f8f194b0d6)
Author: Benjamin Otte <otte@gnome.org>
Date: Mon Jan 29 12:30:39 2007 +0100
implement StartDrag and EndDrag actions
this makes speedball.swf work again
diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c
index 537fced..1decae7 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -359,23 +359,26 @@ swfdec_action_trace (JSContext *cx, guin
* This...
2007 Jun 28
0
Branch 'as' - 5 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c test/trace
...prite, swfdec_action_remove_sprite, swfdec_action_remove_sprite, swfdec_action_remove_sprite } },
[SWFDEC_AS_ACTION_TRACE] = { "Trace", NULL, 1, 0, { NULL, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } },
[SWFDEC_AS_ACTION_START_DRAG] = { "StartDrag", NULL, -1, 0, { NULL, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag } },
[SWFDEC_AS_ACTION_END_DRAG] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_e...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...out all actions
implement ActionLess
another fix for swfdec_js_internal
implement Equals2 and fix If and Goto to jump correctly
didn't catch NULL here, oops
implement SetTarget and SetTarget2
various fixes to reference the correct this object
implement StartDrag and EndDrag actions
implement StopSounds
implement NewObject
implement InitObject action
enable gtk-doc in autogen.sh
rework audio configuration subsystem
Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec
add swfedit binary to...
2007 Sep 03
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c
...100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -297,6 +297,9 @@ EXTRA_DIST = \
constructor-prototype.swf.trace \
countdown.swf \
countdown.swf.trace \
+ crash-0.5.2-new-netstream.as \
+ crash-0.5.2-new-netstream.swf \
+ crash-0.5.2-new-netstream.swf.trace \
crash-0.5.2-startdrag.as \
crash-0.5.2-startdrag.swf \
crash-0.5.2-startdrag.swf.trace \
diff --git a/test/trace/crash-0.5.2-new-netstream.as b/test/trace/crash-0.5.2-new-netstream.as
new file mode 100644
index 0000000..24e3bac
--- /dev/null
+++ b/test/trace/crash-0.5.2-new-netstream.as
@@ -0,0 +1,5 @@
+// makeswf -...
2007 Jun 21
0
Branch 'as' - 5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_connection.c libswfdec/swfdec_net_stream_as.c libswfdec/swfdec_net_stream.c
...{
diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h
index a9cb62a..6ef00b3 100644
--- a/libswfdec/swfdec_player_internal.h
+++ b/libswfdec/swfdec_player_internal.h
@@ -73,6 +73,8 @@ struct _SwfdecPlayer
SwfdecMovie * mouse_drag; /* current movie activated by startDrag */
gboolean mouse_drag_center; /* TRUE to use center of movie at mouse, FALSE for movie's (0,0) */
SwfdecRect mouse_drag_rect; /* clipping rectangle for movements */
+ double mouse_drag_x; /* offset of mouse in x direction */
+ double mouse_drag_y; /* offset of mouse in y directio...
2007 Aug 22
0
8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie_as.c vivified/core
...+ double mouse_x; /* in stage coordinates */
+ double mouse_y; /* in stage coordinates */
int mouse_button; /* 0 for not pressed, 1 for pressed */
SwfdecMovie * mouse_grab; /* movie that currently has the mouse */
SwfdecMovie * mouse_drag; /* current movie activated by startDrag */
diff --git a/libswfdec/swfdec_sprite_movie_as.c b/libswfdec/swfdec_sprite_movie_as.c
index dddd4ce..0722f4c 100644
--- a/libswfdec/swfdec_sprite_movie_as.c
+++ b/libswfdec/swfdec_sprite_movie_as.c
@@ -229,10 +229,13 @@ swfdec_sprite_movie_hitTest (SwfdecAsCon
movie = movie->parent;...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...prite, swfdec_action_remove_sprite, swfdec_action_remove_sprite, swfdec_action_remove_sprite } },
- [SWFDEC_AS_ACTION_TRACE] = { "Trace", NULL, 1, 0, { NULL, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace, swfdec_action_trace } },
- [SWFDEC_AS_ACTION_START_DRAG] = { "StartDrag", NULL, -1, 0, { NULL, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag, swfdec_action_start_drag } },
- [SWFDEC_AS_ACTION_END_DRAG] = { "EndDrag", NULL, 0, 0, { NULL, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_end_drag, swfdec_action_e...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...ng .h file
update test to test more things
allow this thing to be run without numbers - makes Number ("hi") work
allow this thing to be run without booleans - makes Boolean ("hi") work
add crasher to testsuite
fix jsut committed crasher by rewriting startDrag action
@version is a movie property - but only for root movies
move the debug widget here
port to ViviApplication framework
hook in ViviWidget and make it work
delete file that isn't used anymore
version number uses commas, not dots
correct wrong server...