Hello,
I was wondering if someone could tell me how to load an external .swf on the click of a button …
The external .swf is stored in the same folder as the first .swf
I don’t want to have it load an exact URL (i.e. www.???.com/external.swf) but have it refer to it’s location compared to itself - I’ve tried “external.swf” and “/external.swf” but it doesn’t find either.
Code I’m using:
import flash.net.URLRequest;
import flash.events.Event;
function startLoad()
{
var mRequest:URLRequest = new URLRequest(“external.swf”);
}
startLoad();
Sorry if that’s confusing at all?!
Thanks for any help you can provide :p: