-
Okay... I'm going to pull my hair out of my head really soon if I can't get this figured out!
Here is the situation...............
You have a button ... ONE BUTTON!
You click it once, it plays a sound wave... *BOOM*
You click it again, it plays a different sound wave *ZOWIE*
You click it again, it plays *BOOM* again
You click it again, it plays *ZOWIE* again
You click it again, it plays *BOOM* yet another time...
etc.....
Each time it does this, it stores into a variable called "sound" either a 1 or a 2
1 = *BOOM*
2 = *ZOWIE*
SHOW ME THE SYNTAX!!!! Gawd I'm really going nutts here... It seems so simple... Please just show me what you would do...
So what would you put into the buttons action for this to work?
Fill me in before I become bald at the age of 18.....
Thnx,
-Krymex out.
-
i think i would do it this way
have a movie clip called what ever,
2 frames long, first frame have button1 and command stop() action
on the button put
onmousepress play boom
onmouserelease go frame 2 and stop
in this frame do the same thing
on button2 (same button)
onmousepress play zowie
onmouserelease go to frame 1 and stop
does this make sence? or did i not understand what
you are trying to do.
doing it the way you are trying it (storing variables) i'm not to
sure how to do that, i havn't tried it yet.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|