Use the searchPaths ( a built-in global) to create a linear list of folders
that are checked when your movie needs to find linked media.
I usually put the call in a startMovie handler:

--assuming media in folders at the same level as your projector:
on startMovie
tPath1 = the moviePath&"videos"
tPath2 = the moviePath&"sounds"
the searchPaths = [tPath1, tPath2]
end

This tells your movie to check these folders before tossing up an error.
*Note that you can freely leave out the delimiter, if you're not writing
long paths-
tPath1 = the moviePath&"videos"
tPath1 = the moviePath&"videos\"
tPath1 = the moviePath&"videos:"
-all work the same except that the first is cross-platform.

/Clars

Clars Danvold MDD
interaktivt design
[EMAIL PROTECTED]

COMONTO
Levende digitalt design
Rosenorns Alle 18, 1.
DK-1634 Kobenhavn V

tlf: +45 35 37 88 99
fax: +45 35 37 88 98
web: http://www.comonto.dk


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:lingo-l-admin@;mail4.fcgnetworks.net]On Behalf Of Tom
Vandenbossche
Sent: Friday, November 01, 2002 2:33 PM
To: lingo-l
Cc: Direct-l
Subject: <lingo-l> path


I've imported a MPG file into my director movie. When I play the
projector on another computer it says he can't find the movie. It's a
problem of relative and absolute path but how can I change this?

[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!]

[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