2 Replies Latest reply on Jan 7, 2010 11:34 PM by Alastair Duncan

    Copying an external file or folder in Director 11 to a new location

    Alastair Duncan

      Hi - can anyone help?

       

      I have searched and found the answer to my question but had no success with the answer. I am writing a splash screen for a movie to go out on disc. I want to allow people to have the option to play the movie from disc or to copy the file and resource folder to their hard drive. I have downloaded BuddyAPI and found the appropriate lingo but I am not able to get it working.

       

      My lingo experience is limited and I am probably being dumb but I would really appreciate some help with this.

      I want people to copy the necessary file & folder by clicking a "Copy" button or play the movie via a "Play from disc" button. So the lingo I have used to test is this:

       

      on mouseUp me

      OK = baCopyFile( "Macintosh HD:Users:alastairduncan:Documents:testfile.pdf" , "Macintosh HD:Users:alastairduncan:Desktop:testfile.pdf" , "IfNotExist" )

      end

       

      What is wrong with this?