TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Event sound buttons

Page: 1 Reply
Sep 29th 2001#17511 Report
Member since: Mar 27th 2001
Posts: 2237
I'm trying to do somthing in flash that just isn't working like I think it should.... I'm working in Flash4

here is the run down.

I created a button instance and added my sound to that button in the "down" state.... it begins playing when clicked...

everything is right in the world.....

but wait!
if I click it 3 times it plays 3 times! eeeek!

Thats not what I want needless to say. The sound is a 3 second sound and its pretty bad when the multiple clicks play that sound 4 times over lapping.

My question:
How can I make it where my button is "dead" after it is clicked once? This buttons ONLY purpose is to play that single sample sound.... ONCE

I tryed adding the action to the "hit" state of that button to go to a different keyframe where it would have a "dummy" button that does nothing but couldn't get that action to work....

Anyone got any ideas?
or know what I'm doing wrong?

Thanks in advance
Reply with Quote Reply
Sep 30th 2001#17513 Report
Member since: Mar 27th 2001
Posts: 2237
Sheeesh!

Just call my dumb!

I was trying to add the action to the "button"

I needed to add the action to the "instance"
Reply with Quote Reply
Sep 30th 2001#17515 Report
Member since: Mar 18th 2001
Posts: 6632
You're dumb.


Dummy.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum