I cannot get it working although I am very close to an acceptable solution.
I can drag the Dock if it is only a rectangle. But if I add a node (e.g. an image) to this dock I am not able to get a working solution.
Here is my code:
public class Dock extends CustomNode {
// initialize this with an 64x64 image of your choice
// vi...
I have a card (a flashcard you could say)
What I can do:
On fingersweeping over the flashcard the card gets turned. It's happening by detecting
touchesBegan and touchesMoved and then I do stuff like
[UIView beginAnimations:@"View Flip" context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationCurve:UIViewAnimationCurveEas...
How do you drag a data grid column header content to a stack panel in silverlight 4? It seems you can only drag it to reorder the column but not to copy it to another items control...
...
HI
I have a collapsable Title window that has scroll bars on it. When i try to scroll by clicking and dragging the scrollbar, the entire window moves. How can i stop this?....
Thanks
...
I made a javascript library that lets me drag a marker from a dragzone to one or more dropzones.
The problem is... the mouseup event happens over the marker I'm dragging, no te dropzone.
How can I detect in wich dropzone was the marker dropped, and in wich coordinates?
Here's my script:
http://dl.dropbox.com/u/186012/demos/dragger/dr...
I have a view with a UIScrollView that contains a UIImageView. The UIScrollview does not occupy 100% of the screen, like so:
View
---> UIScrollView (size is approx 200 x 200 px)
`----> UIImageView
I want to enable 2 finger drag 'anywhere' on the screen, which will call a method, but this drag will have no effect of the functionality o...
my application have many drag and drop features. and while dragging i want that cursor changes to some grab.cur. ie and firefox are working fine in this. but in chrome it always changes the cursor to text cursor. I m stuck badly please help.
...
How would you know if a row from UITableView has been move via drag? Is there an event to catch?
...
I'm trying to use drag-n-drop with an embedded SWT Browser, so that my application can drag hyperlinks from the Browser to another Control. I've been able to set up the destination to receive data from an external browser, but the internal does not seem to participate in the drag-n-drop. Any ideas?
I would guess that I need something ...
I have a html textbox on which I've bound a function via jQuery to the paste event to prevent users pasting a value into the textbox. This functionality works well.
However it is possible to select some text from another textbox on the page and drag it into the textbox in which pastes are prevented. Is there a jQuery event that I can b...
If you drag and release quickly from the horizontal menu, the menu will auto slide for a distance. It seems to slide more the faster you drag and release. Source ->appear.dk
How do i achieve this effect? Has it got to do with some complex formulaes?
...
i like to drag this object vertically instead of horizontally, which is doin it now:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:touch.view];
if (CGRectContainsPoint(myObject.frame, location)){
CGPoint xLocati...
I am trying to Drag a toolbar button to a tree node. Is it possible? I have noticed that drag start is never fired. Is there any list of components/classes available that currently allow to be dragged?
...
Hi
I am using the JQuery plugins Draggable and droppable and
this is my draggable item structure .
The Textbox value is the qty of the item being dropped onto a shopping cart.
This will be changed by the user before he drops it onto the cart section.
I need to capture this value after its dropped.
<div class="something">
<ul...
i'd like to drag the image "finga" inside a region height of 320.
this goes off screen:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:self.view];
if (CGRectContainsPoint(finga.frame, location)){
CGPoint yLoc...
Hi,
I have a Python script that takes the directory path of a text file and converts it into an excel file. Currently I have it running as a console application (compiled with py2exe) and prompts the user for the directory path through raw_input().
How do i make it such that I can drag & drop my text file directly into the .exe of the...
I'm creating a map in flash and I would like to have a smooth movement similar to this:
http://www.conceptm.nl/
I have made a start but I'm having trouble taking it to the next stage.
My code currently throws the movieclip after the mouse is release but there is no easing while the mouse button is down.
Any tips on how I would achieve...
I have a requirement in our web app. to allow users to drag an image from an external site and drop it in a text editor they have open in our app. This is, as you'd expect, to let them embed the image in the document (its a rich text editor).
In IE 8 this functionality appears to be broken. If I drag/drop, IE uses a relative URL for the...
In my application I catch a DragOver event and then perform an action. I'd like to wait for half a second before performing the action, the action should not be performed after that delay if the drag operation has ended.
The only way I could think of to implement this feature is something like this:
Function DragOver Event
If TimerT...
What's the correct way to detect, from Flash, when someone has started a drag within the browser (eg, a MOUSE_DOWN event), dragged the mouse outside the browser window, released the button, then moved the mouse back over the browser?
For example (assuming StackOverflow was a Flash application):
I've tried the "obvious" thing, checkin...