Hi, Watch out a known bug of Director 8.0 for Windows. Playing the sound on Windows after the fade will play it silently. About the details and workaround, see the Quirk List in the updateStage site. ・Quirk List http://www.updatestage.com/buglist.html _____ Ramesh CT wrote: > I came up with a following script for the button. This script just waits > for the amount of time the fadeout occur then jumps to new location. > > --- button script----------------------------------------------------- > property pFadeStart > property pFadeDuration > property pFadeEnd > > on beginSprite me > pFadeDuration = 5000 > pFadeStart = VOID > end beginSprite > > on mouseUp me > pFadeStart = the milliseconds > pFadeEnd = pFadeStart + pFadeDuration > sound(2).fadeOut(pFadeDuration) > end mouseUp > > on exitFrame me > if pFadeStart then > if the milliseconds < pFadeEnd then > -- go the frame > else > pFadeStart = VOID puppetSound 2, 0 -- Stops the sound sound(2).volume = sound(2).volume -- Fixes the bug > go next > end if > end if > end exitFrame > ----------------------------------------------------------------------------- Good luck, Fumio Nonaka Attain Corporation [EMAIL PROTECTED] [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