Browser Shake try that didnt work with flash8

The Browser Shake tried with the scripts bellow didnt work with publish settings of flash 8 but it did work with publish settings of flash6. Can some oen help me with some modifications to make it work with flash 8.?

The script in the keyframe where browser should shake… is…

getURL(“javascript:shake_x(5)”);

and the script in head of my htm page is …

<SCRIPT LANGUAGE=“JavaScript1.2”>
function shake_xy(n) {
if (self.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}
function shake_x(n) {
if (self.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
self.moveBy(i,0);
self.moveBy(-i,0);
}
}
}
}
function shake_y(n) {
if (self.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
self.moveBy(0,i);
self.moveBy(0,-i);
}
}
}
}
//–>
</SCRIPT>

can {
someOne (“tellme”);
}

How to make it compatible with flash8 woulbe Nice.