codice:var suono:Sound = new Sound(); suono.attachSound("audio", true); suono.onSoundComplete = function(){ this.start(0, 1); } ferma.onRelease = function() { suono.stop(); }; vai.onRelease = function() { suono.start(); };
codice:var suono:Sound = new Sound(); suono.attachSound("audio", true); suono.onSoundComplete = function(){ this.start(0, 1); } ferma.onRelease = function() { suono.stop(); }; vai.onRelease = function() { suono.start(); };