could anyone help me out with some action scripting for sound…
I got a basic idea down from the tutorial but it keeps acting up. I got the play button to work but for some reason I can’t get any of the other buttons to do what I want them too.
I had done it once in flash 5 but, MX is a little different and wont let me do it the same way.
I had it set up so each song was like a number and if you press the button it subtracts or adds one to that number depending on what button you press so it will go to the next track.
I REALLY NEED JUST A WEE BIT OF HELP…thanks
display like this
list like-
example:
play-
on (release) {
x = 1;
Sound = new Sound(this);
Sound.attachSound(“sound1”);
Sound.start(0, 99);
}
Forward- on (release) {
x = x + 1;
if (x=4) {
x = 1;
if (x=1) {
Sound.attachSound(“sound1”);
Sound.start(0, 99);
if (x=2) {
Sound.attachSound(“sound2”);
Sound.start(0, 99);
if (x=3) {
Sound.attachSound(“sound3”);
Sound.start(0, 99);
}
}
}
}
}
stop- ?
pause- ?
backward- ?
None of the buttons work except play and i cant remember how i got them to work before, if an experience person could help It would be in my debt …thanks,
Dr.Kibbles
:elderly: