void ShakeScreen(number shakeCount, [number direction])

Shakes the screen shakeCount number of times. If the direction parameter is given, it shakes the specified direction. If it is not, it shakes from left to right.

ShakeScreen(8) /* Does a left to right shake screen eight times */

ShakeScreen(20 ssFULL_SHAKE) /* Does a complete shake screen twenty times */