_root, _parent, and this

I posted this same problem a few days ago but i never got any feedback …I searched all the forums for a similar problem but found none with a complete answer.
Can someone please give me some insight as to why my functioning slideshow .fla is not functioning when i load the .swf into my main movie. The buttons are not showing up and neither is the mask around the mages. I used this to load the movie

on (release) {
_root.contents.loadMovie(“traditional2.swf”);
}

any ideas why this would not be working ? thanks for any help!

i will email the fla to anyone…i wasn’t able to post the swf on here even though it was only 74,011 bytes

It doesn’t work because you are using _root. Targeting is a VERY important thing in AS.

_root is the first timeline in the hierarchy, so when you load that movie into a main movie, the whole timeline structure changes and the first timeline of the main movie will become the _root.

Here are some tutorials on targeting…

_root, _parent, and this…
http://www.kirupa.com/developer/actionscript/tricks/root_parent_this.htm

Relative Addressing…
http://www.kirupa.com/developer/actionscript/tricks/relativeaddressing.htm

Thanks for your help, i appreciate it

improve post titles

eyezberg, this is an endless battle… :hangover:

no surrender!! lol
if you post it once for every member,
sooner or later, everybody should know…
got some spare time, so it’s ok… :slight_smile:

Yea, hopefully we’ll win this battle
:wink: