Controlling playback

I would like to know if there is a way to use a controller playback (fast forward and rewind) to control numerous swfs.

For example:

Main.fla holds the controller
Main.fla calls up several demos that play linearly.

there are six demos. the demo.fla is set up with movie clips on the main timeline(to control total frame #) – otherwise the audio alone would make a demo over 16,000 frames (the macromedia flash mx 2004 limit)

now is there a way to have the main.fla fastforward and rewind these demos so that at the end of one, it jumps to the other and and the beginning of one you can rewind to the end of the previous? So that it rewinds and fastforwards inside the movie clips not the main timelines of the demos?

please help!
thanks

For the fastforwarding buttons, yeah there’s no problem getting it to control different loaded files. Just give the movie clip containing what you want to fastforward the same instance name in each of your files. This will make it so that whatever is loaded, you can control it. As far as it jumping to the next one, just put a command in the last keyframe of the movieclip that’s playing (the video or audio or whatever it is) that says:

_root.myLoadingClip.loadMovieClip(“demo2.swf”);

or something like that.

great, thanks for your time.
last question, what would be the actionscript for the controller with the fast forward and rewind pause and stop buttons?

that is where i am having the issue
thanks!!

The way i’ve done it is this. On the fastforward button, put this:

on(press){
ffwd = true;
}

on(release){
ffwd = false;
}

On the rewind button put this:

on(press){
rew = true;
}

on(release){
rew = false;
}

Then on the actions layer, program a function for when the buttons’ being pressed (change ‘video’ to whatever the instance name of your clip is):

ffwd = false;
video.onEnterFrame = function(){
if(ffwd == true){
frame = video._currentframe;
video.gotoAndPlay(frame + 8);
}
if(rew == true){
frame = video._currentframe;
video.gotoAndPlay(frame - 8);
}
}

Also changing the number changes the speed that the fastforwarding and rewinding happens, this example is set at jumping 8 frames.

a million thanks!

did it work?