Sound and open stack

Judy Perry jperryl at ecs.fullerton.edu
Wed Sep 11 16:18:00 CDT 2002


I believe that this should work:

on openStack
  play "audioclipname" looping
end openStack

on someEvent --> close card, mouseUp, exit, whatever
  play stop -- assuming nothing else is playing
end someEvent

I think I've gotten this to work on my fledgling Harry Potter stack...
once I figured out which sound format to use :(

Judy Perry

On Wed, 11 Sep 2002, james lewes wrote:

> My son is using revolution to build a cd for a class project and wants to
> get an audioclip tp play when the project first opens and then to loop until
> the viewer exits.




More information about the use-livecode mailing list