i am making a full flash site production.
i have a menu.
inside a movie clip.
on the main timeline.
in index.fla.
now.
i also have a movie clip.
on the main timeline.
in index.fla.
called “container”
which is the movie clip i want
to load external SWF’s into.
my problem is,
i can’t call external SWF’s
into “container” which is on
the main timeline
from the menu, which is
inside the movie clip
on the main timeline.
i know i have to somehow be
commanding it to call it to the root?
or the parent? in order for it to refer to the main timeline.
but how?
this is the code i have for the buttons
in the menu
which is in the movie clip
which is on the main timeline
in index.fla ::
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie ="work";
container.loadMovie ("work.swf");
}
else if (_root.currMovie != "work") {
if (container._currentframe >= container.midframe ) {
currMovie ="work";
container.play();
}
}
}
im sure this is a simple problem to solve.
i would greatly appreciate it if anyone could help me