hey guys,
i’m trying to create a simple “slide show” where i am able to control the speed using a simple setInterval function. where i am running into trouble is that on a few of the frames i have some content (flv’s etc…) that needs to play through before moving on to the next frame. so i need to stop at these frames while they play through and then continue (using the same interval set at the beginning) once they complete. i need this to be as flexible as possible as there will be alot of changes etc… i basically have it set up so far like this:
//main “wait”
var xInterval:Number;
xInterval = setInterval(nxtFrame, 2000);
function nxtFrame():Void
{
nextFrame();
}
then i have frame labels on the frames with the flv’s so when frames get moved or deleted my code will still work. i know it has to be something simple like
(in plain english)
if framelabel = “myFlv”
then clearInterval
run function “play myFlv”
then somehow reset it to the interval set at the beginning.
i’d also like to be able to have all of my script on the first frame. usually i’ll fish around a bit as i am somewhat of a newbie, but i’m on a tight deadline so i figured i’d finally give in and ask for help
thanks in advance. you guys rock!