Interesting. In his script (below) do you see what restricts the images from
being dragged just to the image area, etc?


on dragenter
  set the acceptdrop to true
  ## otherwise you could not drop anything... :-(
end dragenter

on dragdrop
  put the dragdata
  ### just put the path into the msg for info

  switch char -4 to -1 of the dragdata
    ### Here is just check the suffix of the dropped files...
    ### Much room for enhancements... ;-)

  case ".gif"
  case ".jpg"
  case ".png"
    set the filename of img 1 to the dragdata
    break
  case ".txt"
    put url("file:" & the dragdata) into fld 1
    break
  case ".rtf"
    set the rtftext of fld 1 to url("file:" & the dragdata)
    break
  case ".mov"
  case ".swf"
  case ".avi"
  case ".mpg"
  case ".wav"
  case ".aif"
    set the filename of player 1 to the dragdata
    break
  end switch
end dragdrop



Hi doug



No time today to explore your script


I can do it tomorrow

Meantime you can perhaps find the stack on Klaus website : http://www.major-k.de/

Hope this helps.

Otherwise I will search for you tomorrow. Just drop a line if you don't find a solution, I will do it for you but not today

Greetings.

Yves COPPE
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to