QT: How do you move image's at random position?

Henk van der Velden henk at iglow-media.nl
Mon Sep 15 02:04:52 CDT 2008

Hi William,

So every image has a 'right' place and if it is dropped somewhere  
else it moves automatically to the right place?

In that case you could attach a custom property to every image with  
the target location, and then have a general (card / stack) script  
perform a check after a dragrelease: is the image where it should be,  
and if not, move it there.

Kind regards,

Henk v.d. Velden
iGlow Media
Magda Janssenslaan 36

0031 (0)30 262 66 89
0031 (0)6 16 024 337

On 14-sep-2008, at 19:00, use-revolution-request at lists.runrev.com wrote:

> Hi there,
> I am making a simple excercise for my litte son of 4 years of age.
> I got 6 images that can be dragged around the screen (one by one).
> He must put them in the right place but on error I want the images  
> to change
> place.
> Do I need to code the position of the images on every error or can  
> this be
> done at random?

More information about the use-livecode mailing list