Thanks, that should solve the problem.
The project I am currently working on is a kiosk designed to run only on machines with soundcards - but I added a variable they could set if they wanted to run without sound. A check for a sound card would be a good idea just in case.
At 11:20 a.m. 11/05/2004 +0200, you wrote:
----- Original Message ----- From: "Cath Sample" <[EMAIL PROTECTED]>
> Hi, > There seems to be a problem with testing for soundbusy(channel) in certain > cases. I don't recall this happening pre MX- has anyone seen it in older > versions? > Hi Cath,
As I recall, Director has had a problem with missing or nonfunctioning sound cards since Dir 7 when they introduced the new sound() object. Director would actually cause a script error with the new sound object and a missing sound card. In your case, you are using the older syntax which isn't working but doesn't cause an error either. I suggest you use BuddyAPI xtra to check for a soundcard:
if baSoundCard( ) then -- play sound else -- do this end if
There might be a lingo way of checking, but for me, Buddy did the trick.
Frank
[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!]