This method will flash the window taskbar icon for the scene. The aState parameter
turns the flashing on or off. True is on, false will stop the flashing. The
aFlashUntilActive parameter specifies if taskbar icon should flash until window
becomes active or not. This parameter is ignored if state is false.
function onSample()
{
// Flash window until window becomes active
scene.flashWindow(true, true);
}