repeat while soundBusy(whichChannel) and not (the mouseDown)
updateStage()
end repeat
checkPassClick()
end
on waitVideo whichSprite
set the movieTime of sprite whichSprite to 0
set the movieRate of sprite whichSprite to 1
repeat while (the movieRate of sprite whichSprite > 0) and not (the mouseDown) and not (the movieTime of sprite whichSprite >= the duration of cast the castNum of sprite whichSprite)