shooting sound
- jio
-
jio
- Member since: Oct. 19, 2002
- Offline.
-
- Forum Stats
- Member
- Level 05
- Blank Slate
hi!
i want to make a shooting game.i alredy got a custom cursor with the code : onClipEvent (load) {
Mouse.hide();
startDrag(this, true, 0, 46, 400, 280);
}
now when i shoot i want to have a sound.how do i attach a sound to that script?So what i basicly want is when i click i want to hear a 'bang' sound.
- Mr-Y
-
Mr-Y
- Member since: Apr. 28, 2000
- Offline.
-
- Forum Stats
- Member
- Level 38
- Blank Slate
No, you do not attach it to the script. Go to File/Open As library, set "All Files" in the File Type drop-down menu, select your sound file, and open it. In the window that should've appeared, the sound file should be displayed, and you can drag it from there to your library window, and from the library to any frame. This is only one of the ways of importing sound. Does this answer your question, or did you ask for something else?
- Mr-Y
-
Mr-Y
- Member since: Apr. 28, 2000
- Offline.
-
- Forum Stats
- Member
- Level 38
- Blank Slate
At 12/9/02 04:17 AM, jio wrote: now when i shoot i want to have a sound.how do i attach a sound to that script?So what i basicly want is when i click i want to hear a 'bang' sound.
O yeah! On the FRAMES INSIDE THE BUTTONS YOU HAVE, YOU CAN ALSO ADD THE SOUNDS. Double-click the buttons, and either import the sound to the DOWN or HIT frame inside the buttons.
Just in case you didn't get your sounds already, you can get some easily by going through computer game files and importing the shooting sounds - a good computer game to import from is Half-Life:Counter-Strike.
- jio
-
jio
- Member since: Oct. 19, 2002
- Offline.
-
- Forum Stats
- Member
- Level 05
- Blank Slate

