This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-01-14 19:12:22

GameHutSoftware
Scratcher
Registered: 2010-04-24
Posts: 1000+

how to use sound in java?

i have no idea why this goes in AT
but apparently it doesnt go in misc.

so anyway
im trying to make a sound play when a button is pressed
i know how to set up a button and all that
i just need to know how to get a sound to play
in netbeans please

thanks


Lurking more than posting, but still here.

Offline

 

#2 2012-01-14 19:25:46

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: how to use sound in java?

This is a very basic question.
Why don't you ask google?
(I would like to write you an example code but I have no time...)


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#3 2012-01-14 19:33:01

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: how to use sound in java?


http://i.imgur.com/zeIZW.png

Offline

 

Board footer