Baffled _root

i used your tutorial on how to build a full flash site, on
(release) {
_root.contents.loadMovie(“video.swf”);
}

the site will bring in the pages correctly, but now my ploblem is, i am using the same command, on one of the individual pages, to call in a video. i set up the contents movie clip in the middle of the video.swf page, so it is loaded when you click a button. everything works okay, until i am viewing the site as a whole, then when i click the link to the video page, and click the button, the movie loads in the upper left hand corner. i tried renaming the contents movie clip on the video.swf file, to vcontents, so the code would look like

on (release) {
_root.vcontents.loadMovie(“anthemnick.swf”);
}

it would work on the video .swf page when i was previewing it alone, but when i opened the site, clicked to the video page, then tried to view the video, it wouldn’t load in…

The _root timeline is the very first timeline in the hierarchy.

So when you load a movie into another movie, that hierachy changes thus making the first timeline of the main movie the _root timeline.

So if you clip isn’t in the main movie then don’t target that :wink:

Try just vcontents.loadMovie().

wow, so simple, but so complex, thanks betaman…

No problem, glad to help :slight_smile: