why wont it work?
- Started
- Last post
- 11 Responses
- rasko4
I'm trying to load swf's into an empty mc on the stage, the clips have a fade in and a fade out which is required to play before the selected movie is loaded. The buttons are targetted from the main timeline.
the code on the maint timeline is as follows:
stop();
nextMovie = "fade.swf";
loadMovie(nextMovie, "_root.wolfcontentmc");
_root.basenav.popnav.infini.k1pb... = function() {
if (nextMovie != "k1p.swf") {
nextMovie = "k1p.swf";
_root.wolfcontentmc.gotoAndPlay...
}
};on the swf to be loaded I have this on the first frame:
this.onEnterFrame = function() {
this.gotoAndPlay("intro");
this.onEnterFrame = null;
};
stop();and this on the last frame:
loadMovie(_root.wolfcontentmc.ne... 1);the first swf loads fine but when I click the button the new one wont load, I have used this technique before but using loadMovieNum but now I need to load into MC's rather than levels.. wtf?!?!
*confused non coder
- save0
you actually working rasko4?
- rasko40
its incredible huh? I'm actually a very adept multitasker, or is that multislacker?
- rasko40
oh, the buttons are in a swf which is loaded into a movieclip, could this be the problem? Can I not target buttons that are in an external loaded swf? will it work if I just put the code on the buttons themselves?
- rasko40
I want some answers when I return from lunch bi0tches!
so basically, I have buttons in a swf loaded into a MC, from that I want to change the content swf's of a MC and have them play their intro/outro animations.. come on folks. .pleeease :)
- nessdog0
you actually working rasko4?
save(may 19 04, 05:06)
:) ace.
- zeroblade0
confusing... maybe someone'd help if you linked your .fla up (without the graphics of course).
- rasko40
one of you f*ckers knows this, hook me up with an .fla!
should I just redo it so the swf's load into levels?
- canuck0
Are you using _root in the .swf you are loading in? that might f stuff up. how about unloadMovie, then try and reload.
- rasko40
somebody?
- rasko40
I know where you live wankers, now get your help on!!
- rasko40
bastards, you are all bastards.
Santa will find out about this