I hope that some of you people know action scripting.
*Please be very descriptive (novice in actionscript, yet long time flash user)
I'm trying to reproduce something like http://www.kurzweiledu.com/k3000demo/k3000demo20.html
Auto change frame after end of clip problem
I have the layout, buttons, the play/pause buttons and the *.swf movies needed to be loaded for each section. Notice in the example I gave you, after one loaded swf or wav is finished it automatically jumps to the next section. That's what I need to reproduce. With loaded wavs and with loaded swf files. I already got it loaded I just need to know how to make it auto jump. (keep in mind that I actually didn't write my own scripting).
This is what I have to load the sound in the intro.
stop();
s = new Sound();
s.attachSound("Recording7");
s.start();
pauseClip.onPress = function() {
pausePositionS = s.position/1000;
s.stop();
};
startClip.onPress = function() {
if (s.position == s.duration) {
s.start();
} else {
s.start(pausePositionS);
}
};
startClip.onEnterFrame = function() {
};
timeme();
startClip = play button instance name, pauseClip = Pause button instance name
Now, for the play button issue
My play and pause button work fine, but if I hit the play button more than once it'll overdub the same sound, creating chaos! It would be ideal if the play button was aware that another sound is already playing, and wouldn't start a new one over it. I'm also uncertain if my pause button will actually freeze the sound and the movie.. hopefully it will, cause this shit's due soon.
Let's see what you guys have for me !
My big "Thanks" in advance!
Flash MX Actionscripting Problem
-
Mathieu Latulippe
- Shredalicious
- Posts: 64
- Joined: 24 Jul 2005 16:01
- Location: Sudbury, Ontario, Canada