**Hey guys, **
I’ve got a problem that hopefully has a simple solution. I’m trying to create an animated speaker button (with animated soundwave icon) that automatically plays music loop when the site loads, and allows user to switch music OFF & ON at will (with associated soundwave reducing/increasing animations and colour fading). I have already created the movie clip to perform the following actions (for animation only so far), but I’m having invisible button and scripting issues.
I need to the speaker icon/button to do the following things:
1. Fade from opaque white to blue on rollover and back to opaque white on rollout.
2. On 1st Release: Stop Music, and play sound waves reducing (one-by-one) sequence. On Rollout fade back to opaque white with no soundwaves.
3. On 2nd Release: Play Music and play soundwave increasing (one-by-one) sequence. On Rollout, fade back to opaque white with full soundwaves.
My scripting knowledge is fairly sketchy, so please don’t laugh if I’ve done the wrong thing here: So far, I’ve created a movie clip with a layer for all the necessary animation Actions, a layer for Labels, layer for Actions, and 2 layers for 4 separate invisible Buttons.
Invisible Button 1: Plays fade in to blue (Rollover) and back to opaque white (Rollout) with full soundwaves. On Release stops music and plays soundwave reducing (one-by-one) tween.
Invisible Button 2: Takes over from button 1 to play full blue overlay (No soundwaves) and fades back to opaque white on Rollout.
Invisible Button 3: Plays fade in to blue (Rollover) and back to opaque white (Rollout) with no soundwaves. On Release plays music and plays soundwave increasing (one-by-one) tween.
Invisible Button 4: Takes over from button 3 to play full blue overlay (With soundwaves) and fades back to opaque white on Rollout.
In the Actions layer, I’ve placed “stop” Actions at the end of each animation sequence, and programmed Buttons to “gotoandplay” frame Labels (Labels layer) set at the start of each animation sequence. Now the problem I’m having is that the “hit” spots on the second buttons don’t seem to be taking over from the ones on the first, and I have to roll off and roll back on to the buttons for the actions on the second buttons to take effect.
Now I need the buttons to work so that the user can STOP/STOP music (and play associated animations) as many times as they like without rolling off the icon first.
Am I on the right track with the buttons I’ve created or have I gone about this all the wrong way? And if I am on the right track, can anyone tell me how to resolve my problem? I will the link the music later, but just want to get this animation issue sorted 1st.
Thanks in advance.
Dallas. :hugegrin:
