ok so can someone explain this to me, im new to as3, i got the code to LOAD an external.swf. but the problem is, it only loads the 1 swf properly.
heres what i mean
im working with a book and in the example/tutorial it tells me to load an external swf called “movie.swf”
var imageRequest:URLRequest = new URLRequest(“movie.swf”);
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
now when i put another .swf in place of that “movie.swf” the preivew window comes up with a blank screen. and when i change the .swf BACK to “movie.swf” it works again. and im putting the swf file in the same folder as the fla.
can anyone tell me why it wont load anything OTHER then that “movie.swf” ? oh heres another thing, i got help from this forum and the code works also when i want to load the “movie.swf” but if i try and put in a different swf name nothing happens blank screen
var myLoader:Loader = new Loader();
var url:String=“movie.swf”;
var myRequest:URLRequest = new URLRequest(url);
myLoader.load(myRequest);
addChild(myLoader);
:megaman_x: