John wrote:

<snip>
Anyway, Director can't find the video in a video folder below its
subdirectory and it can't even find it in the SAME directory that my
projector is in. The ONLY way we've ever gotten this video to be found is a
straight hard-coded path. (ie. D:\Main\video\video.mpg)
</snip>

I know this is basic but have you tried the searchPaths.
I use advanceXtra and still had to use this on one project as I kept losing
the video.
-- assuming your vids are on the CD with your App
 set videoPath = the moviePath & "video"
  add the searchPaths, videoPath

otherwise could you build the hard coded path by
interating through the drive list using fileXtra and use that in the
searchpaths or directly by appending the video name

--- watch line breaks
on findCD
  fxObj = new(xtra "FileXtra3")
  CD=""
   DriveList=fxObj.fx_VolumesToList()
  repeat with i= 1 to DriveList.count
    isLocked= fxObj.fx_VolumeIsCDROM(DriveList[i])
    if isLocked then
      isRemovable= fxObj.fx_VolumeIsRemovable(DriveList[i])
      if isRemovable then
        CD=DriveList[i]
        exit repeat
      end if
    end if
  end repeat
  fxObj=void

  if CD<>"" then
    return CD & "Main\video\"
  else
    return "CD drive, What CD drive?"
  end if
end

HTH
Brad



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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