I have an image on my app, but I can't figure out how to let the user drag it with his finger.
Any help would be appreciated.
How can I drag an image on the iPad?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: How can I drag an image on the iPad?
Hi epicBlob,
have a look at the Help Menu -> Example Stacks and Resources -> Mobile Examples -> Scroller Example.livecode
That should get you started.
If there are any problems please don't hesitate to ask.
Kind regards
Bernd
have a look at the Help Menu -> Example Stacks and Resources -> Mobile Examples -> Scroller Example.livecode
That should get you started.
If there are any problems please don't hesitate to ask.
Kind regards
Bernd
Re: How can I drag an image on the iPad?
Not sure the OP wants to drag an image in a browser... Perhaps s/he could explain the use case more clearly?
g
g
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: How can I drag an image on the iPad?
So I'm making a statistics program. On a slide, there is an onscreen court that shows a birds eye view of the two teams. Each player is made from a circle and number (two separate objects). I want to be able to move these players around the court.
For now, I don't want to worry about the user dragging the player outside of the court. All I need is for them to move
.
Thanks,
Epic
For now, I don't want to worry about the user dragging the player outside of the court. All I need is for them to move

Thanks,
Epic
Re: How can I drag an image on the iPad?
Ok. There are a few ways to do that. Check out the "grab me" command, which is usually placed in a mouse down handler. It'll magically make the object dragable 
Gerry

Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.