Good day yall, Quick question about adding a 8 second loop to a swf. I want a background loop to played and repeat over and over. I have imported “loop” into my library and am trying to call it however the only way I get a response is if it is exported on first frame, however I only want it to begin on frame 3 because I have a preloader using frames 1 and 2. Anyone got any ideas? Help is appreciated. Thanks in advance, code below.
myLoop = new Sound(this);
myLoop.attachSound("loop");
myLoop.start(0, 99);
Also to have a stop or mute button only on this “loop” I am trying to use on button;
mute.onRelease = function () {
myLoop.stop;
}
MT Gracias yall.