Thanks, that works perfectly!

Pete Haworth


On Sep 2, 2010, at 10:00 AM, [email protected] wrote:

No no, ;)

I forgot to precise that you have to create the image first

A script like this should works to drag a field:

on dragStart
  if (there is not a image "DragField" of this cd) then
     lock screen
     create image "DragField"
     set the visible of it to false
     unlock screen
  end if

  export snapshot from field 1 to image "DragField" as PNG

  set the dragImage to the ID of image "DragField"
  put (the clickH - the left of me) & comma & (the clickV - the top
of me) into tImageOffset
  set the dragImageOffset to tImageOffset

  set the dragData["private"] to text of field 1
end dragStart


Regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

_______________________________________________
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