Forum Signature - Shaking Browser Window
Hey guys, im new to the flash forums, but ive got abit of experiance in beginners flash.
I wanted to make a flash forum signature which has:
- A switch/cover which you click on once and it animates (a cover coming off a switch)
- Clicking on that switch and then the browser window shaking and the signature blurring/shaking also shaking to the sound playing.
this will only happen for a couple of seconds, but is it possible as this isnt my forum and it will be in a signature?
(forum supports and has html/bbc code enabled if you need to kno)
Im not very experianced in actionscript so all the more help would be appreciated
FlashKit > Flash Help > Flash Newbies
Posted on: 06-13-2005, 12:24 AM
View Complete Forum Thread with Replies
Sponsored Links:
Shaking The Browser Window?
Looking through the tutes I found a very cool effect to shake the browser window at :
http://www.flashkit.com/tutorials/Sp...-7/index.shtml
However, I'm a bit new to all this scripting malarky.... I kinda get the code (kinda) but I can't work out how to implement it. I tried pasting it into a html doc but I don't know how it would activate the shaking. The flash way looks handier to me but do I paste the html into a doc and then use a button or something in flash to point towards that doc.
Thanks for your time
Lev
View Replies !
View Related
Shaking The Browser Window
Hi, i have spent ages trying to figure out the Shaking the Browser Window tutorial but with no luck. i was wanting it for www.nw-elitesquad.com , when the shutter opens and closes i would like the browser too shake. but the code isnt workin. any tips would be really appreciated.
View Replies !
View Related
Shaking The Browser Window
Hi,
I followed the tutorial "Shaking the Browser Window". Still it doesn't work?!
Here is my code from flash:
Code:
//hit button
hitarea.onRelease = function() {
getURL("javascript:shake_xy(3)");
};
And here is my code from HTML:
Code:
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- 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 -->
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>
I don't understand what I did wrong..
Can somebody help me?
Cheers,
Thijs
View Replies !
View Related
Shaking The Browser Window
k guys and gals i am back for help again.
i got the code from flashkit.com
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- 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 -->
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>
thats the script that goes in the html file
and this is the script thats being used in the flash
getURL("javascript:shake_xy(5)");
ok now the problem i have is when i used this page by itself it works. but when i try to make this page work with a group of frames it dosent work.
the frames get broken up.
can some one tell me what i am doing wrong. may be there is a different way i could write the code that will shake all the frames not just one.
View Replies !
View Related
Shaking Browser Window Refresh Problem
Hi chaps and chappesses,
I saw a tutorial years ago on here:
http://www.flashkit.com/tutorials/Sp...en-7/index.php
Which i have used a couple of times in projects. Recently i noticed that when it runs the Javascript function the page refreshes thus (on a PC) it makes a page clicking sound, as when you go to another page.
Is there anyway around this, or can the same effect be done in a different way?
Thanks in advance
View Replies !
View Related
Having Trouble With "shaking The Browser Window"
I followed the tutorial just like the instructions said but I am having no luck getting the desired effect. My concept is to have the user click the text button and have it shake the window, and then load an html file. I have it as an object action for the button in the last frame of my movie. I have the javascript verbatim in my source html file. When I test the file and click the button, absolutely nothing happens. What could I be doing wrong? Any help is greatly appreciated. Thanks.
View Replies !
View Related
Signature Linking To A Forum
I am a member of a clan that plays games, i also dabble in flash because I enjoy useing flash so much.
However i am having trouble displaying one of my nick name flash movies. I have tried useing different tags like html and the ][ brackets (not sure what coding this is called). and still it does not display.
I have uploaded the file and it displays in my browser, not sure what I am really doing or where i am going wrong. I have contacted the forum admin and he couldn't figure out what was wrong so i am guessing its my movie?
To test and see if the link works in your browser please click on the link below.
>>>>> Link <<<<<<
I would be greatful for any help you guys can give me.
Regards
Greg (ceribrus) King
View Replies !
View Related
Linking To Swf File For Forum Signature
Not even sure if this is the right place to ask this question, but...
I am using a signature for one of my online video game teams. I have set up my forum properties to get the link for my swf, but when I try to view the swf in the forum, it shows up as a red x, or blank pic.
I am not sure if it has to do with the actual forum, or if it is how I created it.
I also cannot prevent scaling when i make the window larger.
Any ideas? Your help is appreciated!
PS
View Replies !
View Related
A Flash Signature In A Php Forum/board..
Hello all
iv tryed to make myself a kick ass signature, but everytime i convert to animated gif it gets a low quality
Ive herad that i can do something in the actionscript to make swf file work in my forum.
Do anyone know how to do this?
Sorry if ive postet the wrong place..
thx m8z
View Replies !
View Related
Shaking The Browser Q?
Hope someone can help me again, I really like the "shake the browser" effect, but have no clue as to where to put the script, can someone help!
Thanx in advance.
And thanx for the help on the previuos Q
View Replies !
View Related
A Bit More On Shaking The Browser...
Earlier I posted, having had problems getting the browser shaking tute at:
http://www.flashkit.com/tutorials/Sp...-7/index.shtml
working.
I got it working but I still can't get it quite how I like. I have been adjusting the (n) in the:
on(release) {
getURL("javascript:shake_xy(n);");
but it still looks wierd. When the browser window is maximised it seems like only a few bigish shakes but when the window is smaller it seems a more realistic shake. If you look at the tute it looks slightly different if u change your window size but it looks more prominent on my efforts.
Does any one know if there are more parameters I can change to try to make my shake more realisitc?
Thx
Lev
View Replies !
View Related
Shaking Web Browser
hey i want to be able to shake the web browser from within flash....example on mouse over a button i want the browser to shake...i am able to do this in dreamweaver by pressing a button(tutorial at javascript) but i was wondering if someone could help me with the script of what ever it takes to do it in flash.....i would be very thankfull and show you the finished product on the web when finished
thanx
View Replies !
View Related
Browser Shaking
look at the browser shaking tutorial and i have a question. I want o make the browser shake at a certain time, not when someone clicks a link or a button, how would i go about changing that?
View Replies !
View Related
Shaking The Browser
Just checking if anyone knows the knows the code to incorporate into flash to make the browser shake. I know it may be something to do with the javascript but have not been able to locate a tutorial or fla... IF your know of a tutorial or fla, I would appreciate it...
View Replies !
View Related
Shaking The Browser
Hi,
I want to know who can u shake the window browser when reached a certian frame. I know there is a tutorial about this here, but I am not getting it. If i use the getURL command where do I put the script and how do I access it throught flash.
Help me out,
-Syed
View Replies !
View Related
Shaking The Browser
Evening all
I have tryed out one of the tutorials on this site entitled shaking the browser window, well I can't get it to work!
the link to the tutorial is
http://www.flashkit.com/tutorials/Sp...en-7/index.php
the problem I think lies with in the javascript and not the flash elements!
can anybody tell me how to resolve the error or is there another way of shaking the browser window from within flash?
Many thanks
Kev
View Replies !
View Related
Shaking Browser
well im working for a client right now and i need to know how to make the screen shake? like at http://www.albinoblacksheep.com/flash/dubdub.php, i know there's a tutorial on this site somewhere but it doesnt work for me. can someone give me a zip file of the html and a flash file? please include the FLA too XD thanks guys
-rishi
View Replies !
View Related
Shaking The Browser.. Help Needed
im trying to complete the shaking the brower tutorial ( http://www.flashkit.com/tutorials/Sp...en-7/index.php )
but the problem is, im more a graphics person, and less an even remotely knowledgeable scripter. My question is, for the "(n)" after function shake_xy<b>(n)</b>, do i insert a value?
i basically just copied and pasted the code from the tutorial into the html part of my new dreamweaver page.. what should i be doing?
thanks in advance
View Replies !
View Related
Shaking Browser (i.e Or Netscape)
Hello,
I saw Flash site. The moving was playing and suddenly the browser started shaking for a second. How is it possible. I know that there are some javascript coding which can shake browser. But I don't knot that script too. In Flash is there any script which can shake entire browser or javascript is used for this purpose. Please help me on this. I am very new to Flash Action Script.
Thanks
Salim
View Replies !
View Related
Shaking The Browser While In Flash Movie
I have done the tutorial on shaking the browser and can make it shake by coding HTML. But what I REALLY need is to be able to shake it in a specific frame. The tutorial's command DOESN'T work........CAN ANYBODY TELL ME WHAT DOES???
(I will be EXTREMELY happy if you could help me out)
Cheers.
View Replies !
View Related
I Can't Get Javascript To Work With My Flash Movie (script From Shaking Browser Tut)
I have tried everything I can think of to make my flash movie to load in the browser and get the window to shake on the last frame like it does on the "shaking the browser window" tutorial. I placed the get url in the
frame and cut and pasted the script given in the tutorial into my html. What am I doing wrong??
The flash animation contains two layers. Each layers contain two boxes. The boxes should enter the stage and collide in the middle. When they collide, the last frame stops and the browser window is supposed to shake. I have looked all over the net to find step by step instructions to combine java script with flash movies. Why can't someone just simply tell me step by step how to do this? Nothing tells me where in the html to include the java script and no sources are there to say exactly where to include everything.
View Replies !
View Related
Shaking Window Effect & Auto-goto Index..
Yea...im sorta a newb at this stuff but im coming along well
2 questions :
1. How can i get the window my Intro for my site is in to SHAKE (like on some trailers for movies...) at a certain point. I know ppl have seen that b4.
2. I know this is a bad one...but, how do get my intro to automatically close itself and open the index page for my webpage?
Thanks...please take the time to help me...
View Replies !
View Related
"shaking Browser" Effect In A SWF
I read about and used a technique in Flashkit on how to use Javascript to get the browser to "shake" (kinda like a vibration felt when a dinosaur walks!) by imbedding the javascript into the html page and then calling the action from a swf file using the "getURL" command.
My question is this:
Can Actionscript be somehow implemented in a Flash movie (a swf file) to make JUST the swf do the same effect, that is, instead of the browser?
What I would like to specifically do, is have an interface type swf shake when an object alpha's in and sets into place. If anybody knows how to make the shake effect in the manner I'm asking, let me know. All I need is the correct Actionscripting to bring about what I want. It's all I lack, I have the swf setup how I like it and just need the applicable code for the effect. Don't know THAT much about Actionscript (yet) so I'm asking for help on this one! Thanks in advance for any help or advice!
[Edited by DrumDesigner on 12-29-2001 at 04:01 AM]
View Replies !
View Related
Flash Stage Size So It Fits Browser Perfectly-plz Help This Is My 6th Forum
Hi there,
Honestly i thought this would be a simple question but it seems no-one anywhere will answer it. Ive joined 5 other forums and posted the same message with no answer!
I thought this would be a common post but i have searched the post archives and found nothing relating to my question.
Basically i want to create a flash movie so when it is viewed in the broswer window it takes up the whole browser window.
I dont mean chromeless- where the movie takes over the broser controls aswell, but just the browser window.
Ive tried loads of different stage sizes but cant get it right. Can anyone sugggest the correct stage size so that it takes up the whole avaliable space.
View Replies !
View Related
Close.window Script In Flash Button Quits My Browser Window Or Crashes System
Can somebody please help me?
I have a javascript attached to a button in a .swf file to close the browser window it is in.
The code which was given to me yesterday by senocular is
on(press){
getURL("javascript:window.close()")
}
__
however if you try it IE will unexpectedly quit or bomb my computer.
I tried it in Netscape and it didn't crash.
You can refer to my site http://www.valdesdesign.com
after intro go to print button and then to editorial button.
Editorial opens new window with editorial.swf inside. Click on top right button to close window and see what happens.
Is there something I'm doing wrong? Please help me.
Thanks
View Replies !
View Related
Pausing After Preload If Browser Window Is Not Active Window
Hi folks,
I'm trying to figure out how to do this, but so far I have had no success. The intention is for anything like a Flash trailer, intro movie or such like which is large to preload and once this is done check to see if the user is still viewing that browser window.
So if during the preloading the user opens/selects a different window and the preloading finishes then the Flash will go to a paused screen, awaiting the user to indicate they want to proceed (eg a play button). If however the user still has, or has returned to, the browser window it will skip the pause screen and play the animation.
For an example the 9th chapter of Ninjai.com seems to do this (I haven't checked the other chapters).
Any help would be appreciated.
Ragnar
webmaster@ragnarkarlsson.com
View Replies !
View Related
Loading External SWF's Into A New Flash Window Instead Of A Browser Window?
I have this flash presentation where I have buttons when clicked on, a (_blank) browser window pops-up and begins playing external SWF's.
The problem is that, with windows XP, every time I click the button(s) to have the browser window pop-up, to play my externals, the damn 'virus protection notification' thing pops-up first, asking me if this content is allowed. Is there a way to turn this off? My client does not want to have to "allow" the browser to play the external SWF's everytime. I've tried everything but no luck.
Better yet, is there a way to have the external SWF's pop-up in a totally new flash window, on top of the main (presentation) window? I don't want the external SWF's playing in the same window, but rather show in a new window entirely. Can anyone help me? This project is past-due and it needs to go out today. I'll attach the current scripting I'm using so far, if it helps. Thanks so much!
bottingsAd_mc.onRelease = function() {
getURL("exampleAds/bottingsports2_001.swf", "_blank");
};
View Replies !
View Related
Loading In New Projector Window Not Browser Window
I'm designing a portfolio site and Im sending it out as a projector. Is there a way that I can have images load in a new projector window, and not the default browser. My only succes so far is using the getURL, but this opens the image in a browser or in the same window, and I just want to open a new window with the projector, not an internet browser. PLEASE HELP, I need to get a job with this site.
View Replies !
View Related
Open A New Browser Window And Go To Frame(n) In The New Window
Hi I need some help.
I'm trying to load a new html file that contains a movie but I like to specify to what frame to proceed in that movie I try to write this in actionscript I think it is easier to understand.
// I have 2 html files contact.html and home.html
// And I have one swf file named home.swf with 2 scenes named "home" and "contact"
// The home.html and the contact.html both contain the same home.swf movie
// currently I'm in home.html I like to getURL("../main/contact.html")
that loads the contact.html and the contact.html contains the home.swf but I like to proceed to the gotoAndStop("Scene",1) or gotoAndStop("contact",1)
I hope that was clear enough if you may know the answer please email me I have suffered a lot on this but I just couldn't come up with the answer.
Regards
zoltank@timelineillustrations.com
View Replies !
View Related
Getting Rid Of The Top Of The Browser Window When Launching A New Window.
hi there,
I have been having trouble getting a flash site to launch a new broswer window for a html document. It worked fine when opening a new flash window but not html.
Anyway someone on here kindly helped me and sent me this code:
getURL("javascript:NewWindow=window.open('http://www.design8ed.com/digitalspirit/pages/designcs.html','newWin','width=459,height=171,left =0,top=0,toolbar=No,location=No,scrollbars=No,stat us=No,resizable=No,fullscreen=No'); NewWindow.focus(); screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(459/2); top_point = parseInt(screen_height/2)-(171/2); setTimeout('NewWindow.moveTo(left_point,top_point) ',100); void(0);");
Which made it work the only thing is it pop up including the browser menu at the top - does anyone know how i can get rid of this?
Also within the html doc - http://www.design8ed.com/digitalspir.../designcs.html i have a close button which when reviewed works but when published it doesn't close the browser window - is there something i'm missing - why isn't it working?
Your help would be greatly appreciated!!!
View Replies !
View Related
Ie Browser Window
I have been trying for a long time to apply a script to a button in a flash movie which will close the browser window when the button is clicked but I have had no luck PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE help me!!!!!
Kenny
View Replies !
View Related
Don't Want A Browser Window
when I want to open the mailing programm on someone's computer (by putting a link on an e-mail address) it works but I also open a browser window.
I use: Get URL and mail to ...
The same goes when you can download something.
Someone with a solution plz?
View Replies !
View Related
New Browser Window ?
I would like to have a new browser window pop up when a button is clicked in my flash movie. How do you set the parameters to make the new window pop up at a certain size without the navigation buttons and all the other buttons at the top of the browser window?
View Replies !
View Related
Browser Window Help
Is there anyway to use getURL to:
a. open up a new browser window (_blank) BUT...
b. if a browser window is already open, to open a new URL using the same browser window.
However, I do not want to use the same window that my Flash movie is in.
Thanks!
- vicky
View Replies !
View Related
Browser Window
i'm trying to figuire out how you guys make the flash movie fill the whole browser window. What it looks like is that you've got a projector file(.exe) that IS the browser window because you get that bleeding that goes off all the edges. Can anyone tell me how to do this?
View Replies !
View Related
Browser Window Help
Hi all,
well here is wht i need help with.
wht javascript coe or other method should i use to open a browser window without the buttons etc of a particular size from the entry page.
Wht is the best way to make a fullscreen animation page, i've tried FScommand but doesnt work...
Plz help
Thnx
View Replies !
View Related
New Browser Window Help
I'll try to be as clear as I can possibly be with this question. Lets say I have a links page and I'de like a new browser window to come up from a button when I have pressed it or to have a new browser window come up when someone enters my site. But I want the new browser window to be lets say W=300 L=350. I really need some help with this one. Any help would really be appreciated!!
View Replies !
View Related
|