Hi Experts,
I have a few pushbuttons on my site. i want a sound to play on each push button press event.
i converted my push button to a symbol, enter edit mode on my symbol, window -> actions and i added the following
on (press) {
song = new Sound(this);
song.attachSound("pingme"
;
song.start(0,1);
}
nothing happens. can anyone help ?
I have a few pushbuttons on my site. i want a sound to play on each push button press event.
i converted my push button to a symbol, enter edit mode on my symbol, window -> actions and i added the following
on (press) {
song = new Sound(this);
song.attachSound("pingme"
song.start(0,1);
}
nothing happens. can anyone help ?