Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-29-2003, 08:28 AM   #1
death
EXPLODE
 
Join Date: Oct 2001
Location: Iran
Posts: 74
Send a message via AIM to death Send a message via Yahoo to death
Default shake the browser

Hail ...
can gods paste that java shaker code that shakes da browser for me

Thanks
death is offline   Reply With Quote
Old 05-29-2003, 08:33 AM   #2
agent81
member
 
Join Date: Jan 2003
Location: Melbourne
Posts: 518
Default

http://proto.layer51.com/

look uder movieclip prototypes i think, i did see it there a while back

and i am never coming to your website

ever
agent81 is offline   Reply With Quote
Old 05-29-2003, 09:19 AM   #3
death
EXPLODE
 
Join Date: Oct 2001
Location: Iran
Posts: 74
Send a message via AIM to death Send a message via Yahoo to death
Default i cant find that!

hi dude...
thanks for rep ...
but i cant find that shake da browser with codes! can u paste that here :>
we have e button when click that shake the browser
i found a code like that ! is that work?! i cant figure it out ?!

("javascript:shake_y(10)" , Target = "")
death is offline   Reply With Quote
Old 05-29-2003, 11:48 AM   #4
dangerclaes
Registered User
 
Join Date: Jul 2002
Location: Copenhagen, Denmark
Posts: 93
Default

I found this one recently:

The javascript (put it in the head in the nesting html-doc):

<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
<!-- Please leave credits -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Modified by Flash kit http://www.flashkit.com -->
<!-- and modified a bit more by Lars Bregendahl Bro - http://www.westend.dk -->

function shakeBrowser_xy(n) {
if (self.moveBy) {
for (i = 8; 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 shakeBrowser_x(n) {
if (self.moveBy) {
for (i = 8; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(i,0);
self.moveBy(-i,0);
}
}
}
}
function shakeBrowser_y(n) {
if (self.moveBy) {
for (i = 8; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(0,-i);
}
}
}
}
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
//-->
</SCRIPT>


And the actionscript:

ActionScript Code:
getURL ("javascript:shakeBrowser_xy(1)");

Please note that the word "Javascript" is in one word, but the forum keeps breaking it up to two (odd?!)

That should work...
dangerclaes is offline   Reply With Quote
Old 05-29-2003, 02:22 PM   #5
death
EXPLODE
 
Join Date: Oct 2001
Location: Iran
Posts: 74
Send a message via AIM to death Send a message via Yahoo to death
Thumbs up thanks

Thanks dudes
i check out other messages and realize that sorry 4 typing this question agin cause we have 3-4 messages like this..
sorry and thanks
death is offline   Reply With Quote
Old 06-24-2006, 09:53 AM   #6
capdevs
Registered User
 
Join Date: Feb 2006
Posts: 4
Default Only write this code

code:


"javascript: self.focus(); for (i=5; i>0; i--) {for (j=10; j>0; j--) {self.moveBy(0,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); void ;}}"
capdevs is offline   Reply With Quote
Old 06-24-2006, 09:56 AM   #7
capdevs
Registered User
 
Join Date: Feb 2006
Posts: 4
Default Flash shake code

only write this code on press button in flash:

effict will cover all browser



fscommand("shake");
capdevs is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:30 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.