PDA

Volledige versie bekijken : volume


ath92
%Europe/Berlin %535 %2005, 13:50
simpele vraag: hoe kan ik het geluid in de hele swf op een vast volume zetten? alvast bednkt

Roenes
%Europe/Berlin %545 %2005, 14:05
Heb je in de help van flash gekeken? Daar staat de classe Sound. Over de constructor staat dit:
Constructor; creates a new Sound object for a specified movie clip. If you do not specify a target instance, the Sound object controls all of the sounds in the movie.Dus iets als dit zou moeten werken in jouw geval:

var s = new Sound();
s.setVolume(50);