livello azioni che:
1) Non fa partire alcuna musica
3) I pulsanti volume sono non pervenuti
Ecco lo script che inserisco nel frame rispettivo:
-----------------------------------
1 frame
har = new Sound();
har.attachSound("har");
har.setVolume(50);
mus.onRelease = function () {
har.start(0 , 100);
nextFrame();
}
vol_down.onRelease = function () {
har.setVolume(har.getVolume()-10);
}
vol_up.onRelease = function () {
har.setVolume(har.getVolume()+10);
}
---------------------------------
2 frame
mus_1.onRelease = function () {
gotoAndStop(1);
stopAllSounds();
}
vol_down.onRelease = function () {
har.setVolume(har.getVolume()-10);
}
vol_up.onRelease = function () {
har.setVolume(har.getVolume()+10);
}
-----------------------------------
La musica si chiama "har" ed è presente nella libreria (il nome esteso è più complesso, ed è un wav)
Ho la versione 5 di flash