Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: is the JavaScript screen shake still taboo?
From: sharon almeida
Date: Thu, 12 Oct 2000 16:11:14 +0100


Hi All,

About a year ago, there was a question on how to do a browser screen shake
and someone re-posted this code from Robert Koberg for a Flash Screen shake:

<snip>

Put this function in the <HEAD></head> of your html page:

function getWhacky(n) {
if (document.all != null)

for (i = 12; 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);
}
}
}
}

Call it from flash with the function name. For arguments put the number of
seconds you want the thing to shake. This is only for IE. But, yea, steal
from anywhere on the web. Y'all know that Dreamweaver and Attain Objects
are all open source (not explicitly). If you can understand/modify that you
are on your way to a high paying career with Javascript.

</snip>

And then I saw a follow-up post from John Croteau regarding a problem for
Netscape users:

<snip#2>

The shake effect is JavaScript and Paul included the code in another
post. It is highly recommended not to use it because not only does it
not work right with Netscape but it can really screw things up and
sometimes leads to other problems when using Netscape including crashes.

</snip#2>

Sorry about all the cutting and pasting, but I'm checking to see if the
screen shake technique still causes problems for Netscape users. I have a
client that want to incorporate this in a Flash project, but I wanted to
check and see if it would pose any problems.

Has anyone had any luck using this effect? I'd appreciate any input on this
topic.

Thanks for your advice!
sharon


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: is the JavaScript screen shak, nadia

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]