Eric, on mousedown the new image doesn't exist yet...

I managed this in the past, but can't remember exactly how I did it. :-(

Something like: make the new image, set a custom prop to true to show that it's draggable, and have a mousemove handler in the new image that triggers if the custom prop is true. Then have a mouseup handler in the new image that resets the custom prop to false.

Other Ian

On 5 Jul 2007, at 13:27, Eric Chatonet wrote:

Hi Ian,

on mouseDown
  grab me
end mouseDown

Does not work for you?

Le 5 juil. 07 à 13:39, Ian McKnight a écrit :

Hi

I have written an application which allows the user to choose an image by clicking on a button displaying an icon sized representation of the
image. The image appears (it is copied from a custom prop into a
'blank' image) and can then be moved under mouse control to any
location on the screen. This process takes two mouse clicks; the first to select the shape and the second to grab the image itself, and works
perfectly.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to