Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

relative pathName

Status
Not open for further replies.

davv

Programmer
Apr 18, 2001
10
SE
How do you tell your director movie to find a special path to an external movie? I have shockwaved a movie with links to external quicktime movies, but when I upload the files or try to move them to another folder or CD-rom it cannot find the external files.
How do specify an relative path in Lingo. I tried different versions like:
member("1", "bilder").filename = "@\vr\1.mov"
It doesn´t work.

 
you'll need to create a seperate movie and have a movie script within that movie. Here's the script you need:

on startMovie
append the searchPaths, the moviePath & "the file path"
end

put the following to the first frame of the score:

on exitframe
go to movie "your movie name"
end

let me know if it worked.
 
Thanks very much for your answer.

It shouldn´t be that complicated. I´m a real beginner at Director but I think I found the answer deep down at Macromedia tech support. It seems that you that you have to put all linked files in a special folder called "dswmedia". It works. I really don´t understand why this essential information are so hard to find?
 
yes thats ok...

Sorry I forgot to mention that you needed to create a new folder and place all your media init... sorry about that!
I'm glad you found the answer and yes I agree this kind of information should not be hard to find.

good luck with your project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top