what i would like to do is load the photo gallery template into an .swf that is to be loaded into my main .swf. sound confusing enough? yea, i know. so i know that i need to change the _root in the action script but i don’t know what to chage it to. in my main swf here is the action script i am using for the button…
[AS]
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “news”;
_parent.container.loadMovie(“news.swf”);
} else if (_root.currMovie != “news”) {
if (_parent.container._currentframe == _parent.container.midframe) {
_root.currMovie = “news”;
_parent.container.play();
}
}
}
[/AS]
in my 2nd swf i am just using a regular button. so anyway you can get it to load will be fine.
thanks in advance for your help.
Dave