A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Browser Shake.

Hybrid View

  1. #1
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017

    Browser Shake.

    Hey, I've been working on an intro to a site lately, and one neat effect that I've seen before is having the browser shake when something falls. Now, I know that this is done via javascripting, but how do you integrate it into the browser?

    Anyone know the code?

  2. #2
    resident azhole
    Join Date
    Jun 2001
    Location
    Atlanta, GA
    Posts
    206
    just search in google for "javascript browser shake"...there are several options...here's one:

    http://www.permadi.com/tutorial/jsquake/
    i think i can, i think i can

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Browser shakes are like "smooth" preloaders... Bad ideas!

  4. #4
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    Originally posted by oldnewbie
    Browser shakes are like "smooth" preloaders... Bad ideas!
    Why though? It goes with my idea. This doesn't need to be professional in the slightest, just look neat.

  5. #5
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    Originally posted by ar2525
    just search in google for "javascript browser shake"...there are several options...here's one:

    http://www.permadi.com/tutorial/jsquake/
    Okay, I understand that, but what I'm getting at, is how do I trigger that script via actionscripting? So, say an event at frame 163 causes that effect. How do I achieve this?

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  7. #7
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    You're my new best friend .

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    I've heard that one before!

  9. #9
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    But I mean it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center