on exitFrame
if the movieRate of sprite myVideoSprite <> 0 then go the frame
end exitFrame
This simply tests whether the sprite is still playing and, if it is, loops back
on the same frame. Note that if the loop of cast property is true
for the cast used in the sprite in question, this will never exit.