THIS IS THE CODE I HAVE:
<HTML>
<HEAD>
<SCRIPT LANGUAGE=“JavaScript1.2”>
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->
</script>
</HEAD>
<body>
<center>
<form>
<input type=button onClick=“shake(2)” value=“Shake Screen”>
</form>
</center>
</body>
</html>
END CODE
I want to know how to make the screen shake without having to press a button, or even better make it to that i could click a button in flash and have it do this.
Thanks