jefargrafx
Instructor
hey guys,
I'm trying to use the sound property duration and position to change the background image of a MC.
when the sound is 25% done playing I want to tell another clip on the _root to gotoAndPlay frmae (2);
here's what I've tried
sound.onEnterFrame = function () {
if (sound.duration/4 == sound.position) {
_root.background_MC.nextFrame();
}
}
but it jsut sit there?
can do do this using onSoundComplete, but I want to change 4 time during the play back?
anyhelp?
jef
I'm trying to use the sound property duration and position to change the background image of a MC.
when the sound is 25% done playing I want to tell another clip on the _root to gotoAndPlay frmae (2);
here's what I've tried
sound.onEnterFrame = function () {
if (sound.duration/4 == sound.position) {
_root.background_MC.nextFrame();
}
}
but it jsut sit there?
can do do this using onSoundComplete, but I want to change 4 time during the play back?
anyhelp?
jef