hi Miguel

There is no lingo command to delete external casts but you can use fileIO
and fileXtra functions to delete a file. You get IO error, if you try to
open a cast to delete which is linked to the current movie using fileIO and
you can not delete.

-- fileIO example
on mouseUp
  myCast = new(xtra "fileIO")
  path = displayOpen(myCast)
  if not voidP(path) and path <> "" then
    openFile(myCast,path,1)
    delete(mycast)
    closeFile(myCast)
  end if
end

--
Ramesh CT
Team Leader - Multimedia
Phoenix Global Solutions (I) Pvt Ltd
Office: 91 80 6665948 Extn:2169
Mobile: 9844117802
http://www.lingoman.net/



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to