-
Browser Shake? How do I?
Hey everybody. After searching through flashkit for some time I was unable to find a decent browser shake for my movie. Im looking for the script or whatever I would need to make the browser shake on an event and settle back to normal, no abrupt stop. If anyone has the script or movie with it that I could use or copy or see, that would help a lot! Thanks.
Gabe
-
if u want the browser to shake u need to use javascript, if u want to shake just your flash movie then u can use actionscript.
which one do u want?
-
Senior Member
OK buddy....
this is the steps: (by the way if you want the fla file just e-mail me)
[blue]
<HEAD>
<TITLE>OvalZenith.iwarp.com
</TITLE>
<SCRIPT LANGUAGE="JavaScript1.2">
function shake_xy(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
</script>
</HEAD>
[/blue]
[red]You put this in the .html[/red]
And then you put this:
javascript:%20shake_xy(8) in one of your frames as the http:// then >>javascript:%20shake_xy(8) and parrent window.
That should do it.!!!!
-
rad
Hey, Thanks! That was exactly what I was looking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|