buckfu
02-05-2008, 03:02 PM
Hey folks,
sorry I just saw the 'no actionscript' tagline below this forum in the main list...mods feel free to move it....
I'm using Flash MX and have a project where the root level has two buttons: forward and previous. These buttons jump to specific labeled keyframes that contain a movie clip that contains an audio file placed on a layer.
When I test it, and move forward through the project, the audio clips stop, and then the next one will begin nicely....however when I use the previous button, multiple audio clips will play at the same time.
The same happens when I use the 'table of contents' buttons to jump to a specific section...all button actions are the same, for example:
on (press) {
stopAllSounds();
gotoAndPlay("four");
}
Is there a better way to handle audio when jumping from one keyframe to another on the root level, and the audio is contained within a movie clip?
any guidance will be greatly appreciated.
sorry I just saw the 'no actionscript' tagline below this forum in the main list...mods feel free to move it....
I'm using Flash MX and have a project where the root level has two buttons: forward and previous. These buttons jump to specific labeled keyframes that contain a movie clip that contains an audio file placed on a layer.
When I test it, and move forward through the project, the audio clips stop, and then the next one will begin nicely....however when I use the previous button, multiple audio clips will play at the same time.
The same happens when I use the 'table of contents' buttons to jump to a specific section...all button actions are the same, for example:
on (press) {
stopAllSounds();
gotoAndPlay("four");
}
Is there a better way to handle audio when jumping from one keyframe to another on the root level, and the audio is contained within a movie clip?
any guidance will be greatly appreciated.