> where do I set the moviepath to the files (for CD playback)

You don't set a moviePath; moviePath is a function that returns the path to
the current .dir, .dcr, or .dxr file.

> they are contained in a folder inside the root directory

That's your answer.  You should set a string variable when your app starts
up that contains that path, and then use it when you want to play your
external files. Example:

global sPath

on startMovie
  if the platform contains "windows" then
    sPath = the moviePath & "MyExternalFiles\"
  else
    sPath = the moviePath & "MyExternalFiles:"
  end if
end

Then later, assuming your app sets filenames at runtime, you'd use:

global sPath
member("myVideo").filename = sPath & "myMovie.mov" -- whatever

It's common to put external audio & video files in their own respective
folders - unnecessary of course, but useful for projects that use tons of
external files.

Hope this helps,
Rob

/*********************************
* Rob Wingate, Software Human    *
* http://www.vingage.com         *
* mailto:[EMAIL PROTECTED] *
*********************************/

[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