# Help // Ripple Effect and Menu Playback

**URL:** <https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194>\
**Category:** flash\
**Created:** [July 20, 2003, 8:31pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194 "2003-07-20T20:31:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![HondaFoo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/hondafoo/32/96_2.png) [@HondaFoo](https://forum.kirupa.com/u/HondaFoo)\
**Post date:** [July 20, 2003, 8:31pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/1 "2003-07-20T20:31:04Z")

</div>

I know this question has been asked so many times, but “How do I create a ripple effect in a background image?” I’ve searched the forums several times for the effect that I want, but I either didn’t like the results or my program messed up.

I have a background, and I want the ripples to display the blurred version of that image, expand for about 1 second, then fade. I’m sure of what to do with masking, but I want this effect to be generated by ActionScript rather than a movie clip for random sizes and speeds of expansion of each wave.

I need the waves to be triggered when a button is on rollOver and keep generating randomly until it is on rollOut. It would be great if waves overlapped, and I’d hope to have their origins slightly off from eachother by a few pixels.

Also, if possible, maybe a few ripples could be generated to follow the mouse.

About the menu playback issue, I’ve been having this problem where you rollOver a button and it triggers an animation, but if you rollOut before it’s finished it skips to the designated rollOut animation. I’d like the know how to let the first animation finish, then go to the ending if the button isn’t being rolled over.

In a related issue, if you select a certain section in the Flash production, it goes through the opening sequence, but if you select a different section, how would I make so that it goes to a closing sequence, then to the opening sequence of the selected content. I know that they must be related, if not the same code.

If you can help in _any_ of these questions, it would be very greatly appreciated. By the way, I’m not new to the interface of MX, so spare the instructions of how to get to each menu.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2003, 8:38pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/2 "2003-07-20T20:38:57Z")

</div>

I’m working on a FLA for your menu question. As for the ripple effect, I think your shooting for the stars.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2003, 8:41pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/3 "2003-07-20T20:41:00Z")

</div>

Hahaha, yeah, I think I am. But I do remember seeing something very simular somewhere, maybe even on these forums.

And hey, thanks for the help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2003, 8:46pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/4 "2003-07-20T20:46:24Z")

</div>

Okay, first, I posted this a while back:  
[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=27640&highlight=ripple+effect](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=27640&highlight=ripple+effect)

Next, for your button; not sure how I would do it, but I’ve never had a rollOver animation that was long enough to need that. If you post a fla, I’ll play with it.

Last, what I think you are looking for is called transitions. Do a search using that word ‘transitions’ - you will find hundreds of threads and a couple threads that contain tutorials.  
(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2003, 8:49pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/5 "2003-07-20T20:49:51Z")

</div>

voila!

You can call me Daddy later. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2003, 8:53pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/6 "2003-07-20T20:53:48Z")

</div>

**Freddythunder:** Yeah, that’s the concept I wanted, but I’m wondering if there’s any way for those ripples to fade after expanding.

**DigitalPimp:** Great, exactly what I wanted. Would I use the same concept for pages in a Flash with opening and closing transitions?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2003, 9:06pm UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/7 "2003-07-20T21:06:29Z")

</div>

Honestly, I haven’t really looked at the code. I downloaded that fla from flashkit when I first got Flash MX. Back then, I looked at the code, and then threw up. I’ll take another look at it though and see what I can do for you. Otherwise, here’s a MUCH simpiler (simpiler’s not a word :trout: ) way to do what I think you are trying to do:

[http://www.flashkit.com/tutorials/Special\_Effects/Ripple\_E-James\_Cu-528/index.php](http://www.flashkit.com/tutorials/Special_Effects/Ripple_E-James_Cu-528/index.php)

You’ll have to apply actionScript to the masks and maybe use a little \_xscale=\_yscale=formula; for the size. Either way, there’s a plethera of stuff if you do a search of these forums or a Yahoo search using ‘ripple effect’. You’d be supprized!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 12:11am UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/8 "2003-07-21T00:11:28Z")

</div>

> \*Originally posted by HondaFoo \*  
> \*\ ***DigitalPimp:** Great, exactly what I wanted. Would I use the same concept for pages in a Flash with opening and closing transitions? \*\*

umm… OK?! I don’t understand what your asking. If you post some source I can probably help you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 1:38am UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/9 "2003-07-21T01:38:18Z")

</div>

On some Flash websites, when you click a link, there’s an animations before the page opens, like some fading, effects, etc. How would I use the same concept as the menu so that when you are in a page and click to go to another, the animation for a page closing plays and _then_ goes to the opening animation for the page you wanted to go to? Hope that’s a little clearer.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 2:47am UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/10 "2003-07-21T02:47:40Z")

</div>

Just like onclick have it do gotoAndPlay the timeline so that it closes it out. Then have at the last slide another gotoAndPlay and then set variables to pass. Understand?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 5:22am UTC](https://forum.kirupa.com/t/help-ripple-effect-and-menu-playback/26194/11 "2003-07-21T05:22:47Z")

</div>

Alright, but what exactly would the variables be?

And if I wanted the animation to be within a seperate movie clip than the button, who would I do that?

Thanks.
