ok, for some reason loadMovie() isn’t working.
I’ve made several flash banners for separate sites, but I want to make a single swf that loads all the different banners I’ve made one after the other, some movies are hosted in different servers.
Problem is that they don’t load, just loops the first one, no matter which one is loaded first (so it’s not a external server/location issue) and if I “comment out” (/code/) all the loadMovie()'s except one… that one does load… as soon as I code another one stuff stops working and only loops whichever loadMovie() is first.
Is there a way to fix this without “pasting in” all the other frames of all the documents into one FLA and then publishing it???
I’ve tried re-arranging the actionscript into different frames instead of one neatly coded frame… but still not working. The following was my last attempt.
CODE:
/first frame/
stop();
i=1;
this.onEnterFrame=function() {
if (i==1) {
targetMov.unloadMovie();
targetMov.loadMovie(“http://www.testamarketing.com/ba2004/bannerBA2004.swf”);
}else if (i==240) {
i=0;
gotoAndStop(2);
}
i++;
}
/* second frame */
stop();
this.onEnterFrame=function() {
if (i==1) {
targetMov.unloadMovie();
targetMov.loadMovie(“http://www.jovenescoparmex.com/publicidad/testa-siscom.swf”);
}else if (i==768) {
i=0;
gotoAndStop(1);
}
i++;
}