CD-ROM as directory?
Signe.Sanne at roman.uib.no
Signe.Sanne at roman.uib.no
Thu Feb 24 05:45:35 EST 2005
Quoting Nicolas Cueto <nicolas_cueto at yahoo.com>:
> Hello All,
>
> I'm having a problem running a standalone off of a CD-ROM. Namely, the
> standalone itself opens up but not its sound and image files.
>
> Now, the problem disappears if I copy the standalone and all its associated
> files/directories to the hard drive of one of my Win machines (Win98,
> Japanese). So I guess something is up with the directory path.
>
> Here's an example of my scripting method for calling up images and sounds
> via "the directory":
>
> put the directory into tDir
> put tDir & "/snd/" & tSoundFileID into tSndFilePath
> play tSndFilePath
Instead of using the directory I would try:
set itemDel to "/"
put item 1 to -2 of the effective filename of this stack into tFolder
put tFolder & "/snd/" & tSoundFileID into tSndFilePath
Signe Marie Sanne
More information about the use-livecode
mailing list