EDIT: I found a solution
Hi, I’m a total noob when it comes to actionscript so any help is really appreciated.
I am trying to load a swf into a movieclip of the same size but the swf seems to be resized somehow. Any help would be appreciated.
The Movieclip and the swf are both 300 x 300 pixels. Yet the swf loads in scaled down and is only taking up part of the movieclip.
I have the following code on the 1st frame of the timeline of the container movie:
// loader
var swfLoader:Loader = new Loader();
main.addChild(swfLoader);
var bgURL:URLRequest = new URLRequest("swf1.swf");
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete);
swfLoader.load(bgURL);
function loadProdComplete(e:Event):void {
trace("file loaded");
}