Hey all,
I don’t know if this is even possible in this case or anything, but it’s worth a try. I’m not that good with AS3 anyway and I’ve been trying to solve this problem the whole day and feel stuck… I think the answer is right there but I just can’t figure it out.
So basically I have two swfs, main.swf and level.swf… main.swf simply has two frames, first one has the code below to load level.swf and the second frame has some text in it, it’s labelled “theend”.
var request:URLRequest = new URLRequest("level.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
level.swf is more complicated, it’s a little game and blah blah, but the thing is that I have a button (cnt_btn) in the last frame. I’d like this button to go to the second frame (“theend”) of the main timeline.
Thanks!