my main fla’s root timeline has two buttons
first plays sound
on (release) {mainaudio = new Sound(this);
mainaudio.attachSound(“plp_clip”);
mainaudio.start(0, 99);
}
second stops sound
on (release) {mainaudio = new Sound(this);
mainaudio.attachSound(“plp_clip”);
mainaudio.stop();
}
they work fine
However, I need to have the sound (plp_clip) automatically start playing when the movie starts and stop using the buttons as well. I tried some variations in code but can’t get it to work, too simple??
rderd