There is a hack. If you have your cd in the cdplayer and a file on that cd
in a folder called dswmedia then you can try to hook up that file to a
member. for instance a textmember and a textfile:

repeat with drive in ["c","d","e"] --etc...
  member("mytextmember").filename = drive & "\dswmedia\check.txt"
  if member("mytextmember").text = "content in textfile" then
    return drive --we found the drive
  end if
end repeat
return false --nothing found, insert cd?

HTH/Christoffer

----- Original Message ----- 
From: "James Newton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 19, 2004 10:57 AM
Subject: Re: <lingo-l> Checking file (and path) validity


> On 19/4/04 3:15 am, "Alan Neilsen" <[EMAIL PROTECTED]> wrote:
> > Ultimately, I want a Shockwave movie embedded in a web-page that
> > will find the user's CD-ROM drive letter, and open a file from that
drive.
>
> Hi Alan,
>
> Shockwave is a sandboxed environment.  You cannot obtain information about
a
> user's system from within a web-browser.  In particular, you cannot see
what
> local files are available, except those inside the "dswmedia" folder
> alongside the Shockwave installation.
>
> If you need to run movies from a CD-ROM, then you must use a projector.
From
> a projector, you can use the free FileXtra4 to list volumes and tell you
> which of those volumes are CD-ROMs.
>
>   <http://kblab.net/xtras/FileXtra4/>
>
> Can you to provide the projector on the CD-ROM itself?  This might be the
> simplest solution.
>
> Cheers,
>
> James
>
> [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