hello.
i am having trouble with communication between loaded movies.
Here is my situation;
i have a Random array, which provides a random background for 4 different movies. This array is loaded into a emptyClip, which is contained on level1. and looks like so:
randomClips = new Array("intro_1.swf", "intro_2.swf", "intro_3.swf", "intro_4.swf");
function randomBackground() {
randomNumber = random(randomClips.length);
loadMovie(randomClips[randomNumber], "_root.mtClip");
}
randomBackground();
on level10 i have a button that i would like to move the timeline of those randomClips(intro_1.swf,etc.)
In those intro clips, frame 1-38 play a tween, on frame 38 there a stop action and on frame 39-53 it reverses the tween.
in that button i have:
on (release) {
_level1.mtClip.bg_movie.gotoAndPlay(39)
}
and i also tried:
on (release) {
if (_level1.mtClip.bg_pic._currentframe == 38) {
tellTarget (_level0.mtClip.bg_pic) {
gotoAndPlay(39);
}
}
}
neither of these codes work. again, i would like that button on level10 to move the timeline in those intro movies.
thanks.