Brower shake
- Started
- Last post
- 17 Responses
- Stir
Ok, New to flash and the boss wants the brower to shake.
How do i make it shake at a certain frame in flash? I have been trying to two days now and im pulling my hair out. Please help a bird in trouble with only about 20 hours of flash training.
No brower shake jokes please, trust me i know!!
It need to happen when the M comes in.
Thanks all
Cx
- UndoUndo0
to make the whole browser shake you can use JS with the x and y properties with an interval, google something like 'javascript browser shake'
- Stir0
i have the code, im not sure im putting it in the right place though!!
Rarrr...
- ********0
- rafalski0
Maybe it's just that JS calls from Flash are handled differently in IE and all other browsers.
You have to know what browser it is and then use FSCommand() for IE or getURL() for all others.You need separate JS functions for each.
- Stir0
Im trying to use the getURL command but they are just not talking to each other!
Most of the turorials tell you how to do it on the press of a button but i need it to work at a certain frame.
Mmmmm....
- Dancer0
OMG!!!
- Stir0
DONT!!!!!!!
- Dancer0
Instead of on press just put it on another function on(enterframe)??
- Stir0
where?
- Dancer0
Stir, I fear you may be wading a little out of your depth.
Just tell him you don't know and it is a dated and played out/done to death idea that lasted a month in 1998.
- Stir0
Dude. Do you not think i have tried??
Plus, if i can conquer the browser shake i can do anything!!
Right?
- Dancer0
ermmmm......
Yeah, if you can do that you have AS, JS, PHP, Java, asp, xml all under ya belt.
Gd lk!
- Stir0
yeah im aspiring to be just like you!
- Dancer0
I know CSS and I wouldn't even say that I know that that well.
I can always pretend though ;)
- rafalski0
so, does it shake on button press in the first place?
- restlessdesign0
Swear to god if you try to use Javascript to do ANYTHING to my browser window, I'm leaving your site.
Sony Pictures LOVES to do this and I never spend more than 5 minutes on their movie sites (even if Big Spaceship made it =P)
- jamble0
Swear to god if you try to use Javascript to do ANYTHING to my browser window, I'm leaving your site.
restlessdesign
(Aug 15 06, 04:44)+1