Here's a card script that almost does what you need:

global latestoval,latestovalloc

on mousedown
   lock screen
   set the style of the templateGraphic to oval
   put the mouseloc into latestovalloc
   new graphic
   put the number of graphics into latestoval
   set the backcolor of  graphic latestoval to "red"
   set the filled of graphic latestoval to true
   set the rect of graphic latestoval to latestovalloc & comma & the mouseloc
   unlock screen
end mousedown

on mousestilldown
   set the rect of graphic latestoval to latestovalloc & comma & the mouseloc
end mousestilldown


It isn't quite right, because it only works for dragging from top left to 
bottom right, but you should see that it works fine in standlaones, even on iOS.



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to