Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Player Shake



Hello all! I am newbie and I am acually using swish to make a presentaion. I would like to add one more effect. I have an explosion sound and would like the player/browser to shake when that sound plays. Could anyone help me out with this? I have seen some of the other scipts and acually got the screen to shake, but only with html, not when I play my movie.

help!
thanks!



FlashKit > Flash Help > Flash ActionScript
Posted on: 11-24-2002, 12:05 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Shake Shake Shake, Shake Your Booty
Hey peeps (again)
I been buzzin around flashkit.com LOADS today, another movie im playing around with is a shake script.
http://www.flashkit.com/tutorials/Sp...-7/more4.shtml
Its great! easy and simple to edit but... on the demonstration I click the button, it does a funky bit of animation, then shakes. I can get it to shake with flash but the second I press/release the button/image. How do I put a delay on it, or make it work once it reachs the frame?

Many thanks

Matt

In-out-in-out Shake It All About
in-out:
i would very much like to do what i once saw on this chap's site, (the site no longer seems to exists).
he/she had a button which allowed the user to toggle between a full screen mode and browser window, marvellous!!

shake it all about:
i also saw on another site a feature which seemed to shake the browser window on a button click.

anybody got any clues what-so-ever? i would be very greatfull.

Shake
Hi,

One of the movie i made is compose of many images, comming one at the time. All the images are convert to objects. The problem i have is that the image seem to shake, juet like a little flickers, very fast but very annoying.

All those image come from 0 to 100% alpha in 5 frame, stay on for 4 secondes and disapeard in the same way. The shaking occurs in the 4 seconds still.

any idea?

p.s. i checked all the usual suspect, and i work with flash from the time it was still future splash! This, i never seen.

tanxs,

How Do I Shake It?
hi i have posted b4 bt i wasnt very clear i wana do this

http://www.flashkit.com/tutorials/Sp...en-7/index.php

but i dont want a button i want ti to start automaticaly i want it to be set it up so as soemthing falls from the top of the browser, as it lands it causes the screen to shake but i just cant seem to do it please some 1 help me as the fineshed result will look top cheers

Shake
How do i make the movie clip look "distorted"
like in this website after it loads you will see a picture of a girl and it will shake once and a while.

http://www.estars.co.kr/kjw/index.asp

Shake It
Here it is, have fun!

Shake
i know not all browers support this, but i want a javascript code to shake the browser. i have a code but it doesn't work. and i tried other and can't seem to figure them out : help is much appreciated

Shake It
How can I make an object to shake (not rotate) while the mouse is over on the object......

Shake It
Hello people,

I have a quick newbie question that doesn't seem to make any sense at all to me. I have a MovieClip(emma) containing your letters(ee,m1,m2 & aa) which I want to shake when clicked on (one at a time).

Here's my code. Now why does the shakeIt function only work properly once when clicked on??



Code:
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
import flash.utils.Timer;

var letter:Object;
var firstPos:Number;
var timer:Timer = new Timer (20, 20);

timer.addEventListener(TimerEvent.TIMER, onTimer);

emma.ee.addEventListener(MouseEvent.CLICK, shakeIt);
emma.m1.addEventListener(MouseEvent.CLICK, shakeIt);
emma.m2.addEventListener(MouseEvent.CLICK, shakeIt);
emma.aa.addEventListener(MouseEvent.CLICK, shakeIt);

function shakeIt(e:MouseEvent):void {
letter = e.target;
timer.start();
firstPos = letter.x;
//trace(firstPos);
}

//And also, the function onTimer can access the letter variable but the trace statement below can't, whyyyyy?
trace(firstPos);

function onTimer(e:TimerEvent):void {
letter.x += Math.random() * 8 - 4;
letter.rotation = letter.rotation+5 | letter.rotation-5;
trace('timed');
}



function resetPosition(xPos:Number):void {
letter.x = xPos;
letter.rotation = 0;
}

//resetPosition(firstPos);
Thanks!

kjeft

Browser Shake
Anyone know how to shake the browser windows. I.E. and Netscape ?

Shake That Browser
Does any know how to shake the browser window.

Thanks.

Natzke Shake
I recall seeing some tutorial or fla regarding Natzke.com's too much coffee text look... it's an actionscript that shakes the text... can't find it... used searches... nadda

Anyone help?

Browser Shake
how do i ad a browser shake to my movie with action scripting?

Can You Shake A Projector?
Does anyone know if you can shake a projector window like a browser shake? If so how?

Window Shake
Hi,
Could anyone please show me how to make the browser window shake in flash?

Thanks

Help Please W/ Browser Shake +
I set up a page w/ the browser shake.
It works fine.

The browser shake is javascript which I guess is
called by the button in the swf file


I want the button to be pushed then a sound and animation
begins.

I have it set up so the button is pushed and browser shake starts.

But, with the same button I want these other events to take place
I am pretty sure I cant,...on the same button do a

on release=browsershake

then on press=sound and animation

So in short, I want the browser to start shaking
when the button is pressed (which works now)
and a animation + sound (expolde sound) to start

How do I get these 3 events to happen on one button

Thanks

Kevin

Help With Browser Shake
I cannot get the damn broser to shake in my Movie i did the tutrial for it but i dont think that was for flash mx can any one help me

Browser Shake
hi,

ok this is a simple question.

i know it used to be on flashkit. But want to let the browser shake when i say in a flash movie. but does anybody know how?

i've searched under "shake" and "browser"

can't find it/

anybody?

thanks!

Tianshi

I Want My Feaking Mc To Shake
I can't figue out how to get my movie clip to shake 2 pixels up 2 pixels down. Flash is gettin' pissed at me, because I keep screwing up. Help please. Here is the code I am using:

onClipEvent (enterFrame) {
_x = x+1;
_y = _y+1
if (this._x>=2 and this._y>=2) {
this._x = 0;
this._y = 0;
}
}

but this screws up the position of my mc. I want it to be at x = 20.9 and y = 6.7 and shake from there.

Shake Button
I'm trying to write a little ActionScript that will shake a button when the cursor is over it using

Code:
setProperty("this", _x, random(5));
setProperty("this", _y, random(5));


The only thing is I want it to do this over and over until there is a roll out. Can anyone help me do this?

Thank you.

Browser Shake
I read a tutorial in here on how to make a browser shake...I tried to do it in Dreamweaver, but alas it did not work. Does anybody no why it wouldn't work?
Browser Shake Tutorial

Browser Shake
I want to learn to make the browser shake can anyone tell me how or give me a tut.?

thx

Browser Shake
How exactly do you make the browser shake - is it a script? for instance - http://www.soulplane.com/main.php - when the plane drops down the browser shakes - if anyone could help I'd really appreciate it - thanks in advance

Screen Shake
I noticed in some flash movies the user was able to make what ever window the flash file was in shudder and shake when ever some one big jumped. Does any one know how to do that ? as it would be really kewl !!!!!, thankies

Javascript Shake? MX
how exactly can you make the html page shake through flash at a certain point... not on a button click, but when the movie reaches a certain frame?

Browser Shake
Hello,

Does anybody know how to make the browser shake....

Please let me know...

Thanks,

Screen Shake
Hey guys,

I have an effect at some point in my Flash movie, where I want the screen to shake for about 3 seconds, starting out strong and fading away. Anyone know of a good tutorial pointing this out? Also, if it can be done with MX 2004 Pro?

Thanks,

Frankie B

Trying To Shake The Browser
hey.. this link: http://www.flashkit.com/tutorials/Sp...en-7/index.php, shows me how to shake the browser but i cant get it to work... i dont even get the active x warning..... can anyone help?.. thankz

Jittering Or Shake
I'm looking to make something jitter, that is shake and rotate, but more or less on the same place.


PHP Code:



onClipEvent (enterFrame) {
    this._rotation = this._rotation+1;
}




I can make the item rotate and move in one direction, but I'd like to make it move a few pixels up down around etc. something like this...


PHP Code:



onClipEvent (enterFrame) {
    this._x = this._x+1; or this._x-1
}




Excuse the simplicity of this question, but I haven't used actionscripts for ages and am shocked by how much I've forgotten.

Pick It Up And Shake It
Hi, I've got a bit of a problem and was hoping if someone could point me in the right direction with this.

Basically, I'm looking to suss out a good way to pick up objects (all affected by a main gravity that will kepp them grounded), but when you pick up an object rather than the simple stuff I'm trying to get it so that the user can shake an object. By that I mean you can shake it from side to side, up down, any angle and the object will swing with the motion of the mouse.

If you find it hard to visualise what i mean, pretend the mouse is the spring and swinging it will cause the object to move in the direction until it springs back into place when the mouse is still.

Any ideas?

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

Thanks

Shake My Screen Please (help)?
THIS IS THE CODE I HAVE:

<HTML>
<HEAD>

<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->
</script>
</HEAD>
<body>
<center>
<form>
<input type=button onClick="shake(2)" value="Shake Screen">
</form>
</center>
</body>
</html>

END CODE

I want to know how to make the screen shake without having to press a button, or even better make it to that i could click a button in flash and have it do this.

Thanks

Dot Shake Effect
I was working on a blood spewing particle effect and while working on that I came across this 'problem' not what I wanted but pretty cool so I'll post it here. It gives the illusion that the screen is shaking and it's pretty cool.

Btw, click where you want the dots to appear.

Ok here's a different variation of that...
http://www.filefactory.com/?f4fe6c

And here's basically what I was aiming for in the beggining.
http://www.filefactory.com/?6be478

Shake Effect Help
So I tried following the tutorial on this site but theres something wrong the code. I keep getting error.

Code:
**Error** Symbol=myMC, layer=Layer 2, frame=1:Line 4: ')' or ',' expected
duplicateMovieClip(tremble, "tremble" add c, c);

Total ActionScript Errors: 1 Reported Errors: 1

Check If Shake
Hi!

I'm new to this forum and kinda new to actionscript.

I'm trying to make a site, where you can move various movieclips around, and for that I use a simple drag function with easing, shown below...

_root.myMC.ease = 2;
_root.myMC.onPress = function() {
this.drag = true;
};
_root.myMC.onEnterFrame = function() {
if (this.drag == true) {
this.targX = _root._xmouse;
this.targY = _root._ymouse;
}
if (this._x != this.targX | this._y != this.targY) {
this._x += (this.targX-this._x)/this.ease;
this._y += (this.targY-this._y)/this.ease;
}
};
_root.myMC.onMouseUp = function() {
this.drag = false;
};


When moving the movieclip around, my idea is to have something happen to it, if the user shakes the movieclip. But I don't know how to check is the movieclip is shaking, does anyone have an idea as to how I'll do this?

Thanks

Shake My Screen Please (help)?
THIS IS THE CODE I HAVE:

<HTML>
<HEAD>

<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->
</script>
</HEAD>
<body>
<center>
<form>
<input type=button onClick="shake(2)" value="Shake Screen">
</form>
</center>
</body>
</html>

END CODE

I want to know how to make the screen shake without having to press a button, or even better make it to that i could click a button in flash and have it do this.

Thanks

Shake Browser
Hey I want to know how to make the browser shake?
I know it's something like shakexy...but I don't get it.
Can someone tell me exactly how to do this??
I have made a movie and want on some particular frames the browser to shake.
Help :-<
Thnx

Screen Shake
Hi i am going to make a flash thign where it plays music, but i was wondering is there a way to make the screen shake with the beat at the music?

Browser Shake
Can someone tell me how to make the browser shake using action script(fsCommands?), please?

Thanks.



Shake Effect
How too use shake effect only in the flash player window ???

Shake Effect
how to use shake effect in the Flash Player window, instead the browser window ?

Looking For The Browser Shake Script
I want to set up a page that has the Browser Shake
in it.

Thanks

Kevin

Browser Shake.......where Was That Effect?
You know the one that shakes the entire window...where is that thing??

Thanks

How To Trigger Browser Shake From MC
I understand how to trigger a browser shake using a button. How can it be done automatically i.e. at the end of a movie clip. Thanks

Anyone One Know How To Get This Cool Shake Effect
look here to see what i mean.....i want this shake effect

http://www.adidas.com/sports/soccer/...ania/view.html

Shake Browser Window
Hi there.....

I got this script...

SCRIPT LANGUAGE="JavaScript1.2">
<!--
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// -->
</SCRIPT>

to shake a browser window....
how do i change the script to make the shaking shorter??

Make A Button Shake?
Hello People,
Does anyone know how I could make a button shake when it is rolled over? I'm not sure how to make anything shake actually, but I'm wanting to shake my button

I know shake is used somewhere?

does anyone know?

thanks

How Can I Make The Browser Shake When It...
Hello and thanks for your time...

How can I make the browser shake when it hits a certain frame, i have some browser shake javascript?

Thanks for any assistance

SHAKE / Vibrating Effect
Hey guys, I've seen tutorials on how to make a browser window shake. But how do I make a graphic/movieclip shake violently like that. Meaning I dont want the entire window to shake, I want a button, or a logo to shake. Please help me I'm a noobie. Thanks.

Copyright © 2005-08 www.BigResource.com, All rights reserved