Hi,
I have a basic flash movie with a graphic that fades in to a keyframe. At this point the movie stops and a sound plays through actionscript coding (shown below). How do I set the movie to continue once the sound clip has finished? At the moment the movie continues once the audio starts playing.
stop();
//Play Internal Sound Behavior
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};
if(typeof this.createEmptyMovieClip == 'undefined'){
this._parent.createEmptyMovieClip('BS_daddy',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.daddy = new Sound(this._parent.BS_daddy);
} else {
this.createEmptyMovieClip('_daddy_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.daddy = new Sound(this.BS_daddy);
}
_global.Behaviors.Sound.daddy.attachSound("daddy");
if (true) {
_global.Behaviors.Sound.daddy.start(0,1);
}
//End Behavior
play();
Thanks