I'm happy to say that I had the same problem and after searching around a lot found out that:
1- if you use a MovieClip object in your "basetest.swf" like this:var loader:Loader;2- then in your "test.swf" you could use the gotoAndPlay like this to access the main movie time line:
var holder:MovieClip;
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.CO MPLETE,onMovieComplete);
loader.load(new URLRequest("01Intro.swf"));
function onMovieComplete(e:Event):void
{
holder = MovieClip(e.target.content);
holder.x = 251.95;
addChildAt(holder,12);
}
MovieClip(this.parent).gotoAndPlay(2);I think this solves your problem
Also if you noticed, I use addChildAt to enable me to put my external clip in desired layer (top layer of your time line is 1 and so on)
![]()


LinkBack URL
About LinkBacks
Reply With Quote





Bookmarks