|
-
Senior Member
Sound Player
Hello everyone,
I've been trying to figure out a way to make a little drum machine in flash. I'm trying to use the keyboard keys to control the different drums.
What I have tried so far is...
Creating a movie clip. Make 2 frames. 1st from in the movie clip has a stop action on it. the 2nd frame of the movie clip has the sound attached as an event. Then I put a code on the movie clip to play frame 2 of the movie clip when Z is pressed.
Also Ive done it this way...
I created a new sound. Attached the sound from the library onto it. Then put a code on the movie clip to play my newly created sound when Z is pressed.
They both work. But not good enough. My overall goal is to make the sound play instantaneous after I press Z.
So, if I press Z once. it is fairly instantaneous. But the problem comes when I hit the Z key a couple times in a row. The sound gets delayed.
Does anyone have any advice they can give me. I'm just slightly annoyed by this, and for some reason my gut is saying that in flash, there is no way around the delaying... But hopefully someone smart out there can help me in this troubled time, lol..
Well, any help is greatly appreciated.
Thanks in advance,
~Bill
So many Ideas
So little Time
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
|