Ok I have a bigger problem. What i am trying is i have more than 100 mpeg 
clips and there are on separate cd-roms. My projector will be copied to the 
hard drive and from there i will be calling Mpegfiles. The problem is i am 
trying to find which cd is in the drive  and then go on from there. The main 
problem is it detects the first cd and then the second cd but it does not 
play the clip from the 2nd movie. This is i think the problem with 
DirectMedia Xtra since it checks for Directmedia cast before it executes 
lingo. How to avoid it??

Here is the code that i am using.. the problem is it wont play the clip when 
a 2nd cd is installed.

I really really appreciate any help on this,....Kind of desperate

Ravi

on beginSprite me
  passed = false
  fileXtraObj = new (xtra "filextra3")
  set gdrives = fileXtraObj.fx_VolumesToList ()
  repeat while passed = false
    repeat with x = 1 to gdrives.count
      gtheLabel = baDiskInfo( gdrives[x].char[1] , "name" )
      put gtheLabel
      if gtheLabel = cdLab then
       passed = true
        append (the searchPaths, gtheLabel)
        exit
      end if
    end repeat

    Answer = baMsgBox( alertMessage, "Where is.CD Labelled MockS1.." ,
"OKCancel", "Exclamation" , 1 )

    if answer <> "OK" then
      case whatDo of
        #quit :
          if the environment.runmode = "Author" then
            halt
          else
            quit
          end if
        #goMarker :
          go whatMarker
      end case
    end if
    next repeat
  end repeat
  fileXtraObj = 0
end






>From: "Al Hospers" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: <lingo-l> Re: Directmedia Xtra Problem
>Date: Wed, 27 Jun 2001 16:30:06 -0400
>Received: from [208.210.86.12] by hotmail.com (3.2) with ESMTP id 
>MHotMailBD0390510074400431D6D0D2560C0EE90; Wed, 27 Jun 2001 13:43:02 -0700
>Received: from mail1.fcgnetworks.net 
>([EMAIL PROTECTED] [192.168.40.6])by 
>mail2.fcgnetworks.net (8.9.2/8.9.0) with ESMTP id QAA44098;Wed, 27 Jun 2001 
>16:42:56 -0400 (EDT)
>Received: by mail1.fcgnetworks.net (8.9.1/8.9.0) id QAA23990for lingo-send; 
>Wed, 27 Jun 2001 16:32:06 -0400 (EDT)
>Received: from goliath.cnchost.com ([207.155.252.47])by 
>mail1.fcgnetworks.net (8.9.1/8.9.0) with ESMTP id QAA23981for 
><[EMAIL PROTECTED]>; Wed, 27 Jun 2001 16:32:04 -0400 (EDT)
>Received: from devthree ([207.190.237.95])by goliath.cnchost.comid 
>QAA17372; Wed, 27 Jun 2001 16:30:15 -0400 (EDT)[ConcentricHost SMTP Relay 
>1.14]
>From [EMAIL PROTECTED] Wed, 27 Jun 2001 13:43:44 -0700
>X-Authentication-Warning: mail1.fcgnetworks.net: majordomo set sender to 
>[EMAIL PROTECTED] using -f
>Message-ID: <013e01c0ff47$f4723460$0b00a8c0@devthree>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
>In-Reply-To: <[EMAIL PROTECTED]>
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Importance: Normal
>Sender: [EMAIL PROTECTED]
>Precedence: bulk
>
> > I am trying to call a mpeg file from a cdrom using Directmedia Xtra
> >
> > --gCdRomVolume is a variable which stores the cdrom driveletter
> >
> > on beginSprite me
> >   set the file of member "10AB.mpg" to gCdRomVolume & "27AB.mpg"
> > end
> >
> > The file does not play when i use this code.
>
>are you sure that this is the syntax for swapping files? do you have
>the member linked to a placeholder or another file? so you are saying,
>from your example that if the CD is drive D, the file is
>
>  d:\27AB.mpg
>
>that is in the ROOT of your CD. are you SURE that this is correct?
>
>have you looked at the examples they provide? have you contacted
>Tabulario about your problem?
>
> > The problem with Directmedia Xtra is it looks for DirectMedia
> > Cast member BEFORE any lingo is executed.
>
>what is the problem with this? how would you expect it to work? there
>needs to be a DM cast member present and linked to something before
>you can do anything.
>
>
>
>Al Hospers
>CamberSoft, Inc.
>al<at>cambersoft<dot>com
>http://www.cambersoft.com
>
>A famous linguist once said:
>"There is no language wherein a double
>positive can form a negative."
>
>YEAH, RIGHT
>
>
>
>
>
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/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!]
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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