I've got a Shockwave game (authored in D 7.02) that plays a streamed intro
SWA file when started. This audio is supposed to be interruptable with a
click, but those clicks are to be passed to any sprites that happen to be
clicked on to activate them. So, on startMovie, I initialize the
mouseDownScript to a handler in a movie script. That handler calls the SWA
member's "stop" method to interrupt the audio. It also changes out the
mouseDownScript to a different handler, then does a "pass". When the passed
mouseDown gets to my other sprite, the mouseDown handler in its assigned
behavior switches out the member (by assigning a new member number to the
sprite's memberNum property -- it's a highlighted version of the sprite's
bitmap). When the SWA.stop() call is in, the highlighted state never shows
up when clicked. If I comment out the SWA.stop() call, and let the audio
play uninterrupted, the highlighted state appears.

What is it about stopping a streamed SWA in this context that would cause a
member change not to show up???

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Christopher Watson
Sr. Software Engineer
Lightspan, Inc.
http://www.lightspan.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