# Setting parameters for a loaded swf

**URL:** <https://forum.kirupa.com/t/setting-parameters-for-a-loaded-swf/310279>\
**Category:** flash\
**Created:** [June 6, 2010, 7:09pm UTC](https://forum.kirupa.com/t/setting-parameters-for-a-loaded-swf/310279 "2010-06-06T19:09:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m2244](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@m2244](https://forum.kirupa.com/u/m2244)\
**Post date:** [June 6, 2010, 7:09pm UTC](https://forum.kirupa.com/t/setting-parameters-for-a-loaded-swf/310279/1 "2010-06-06T19:09:44Z")

</div>

Hello,

I am trying to load an external swf (which, come to find out, does not include the background color of the loaded swf) into a movieclip. It seems to be pretty easy. But the movieclip I am loading it into is smaller than the swf I am loading. Is there a way to specify size parameters? In other words, is there a way to scale the swf down so that it fits into the movieclip? Any other suggestions are welcome also.

Thanks in advance, MH

```auto

var swfLoader:Loader = new Loader();
mcHolder.addChild(swfLoader);
var bgURL:URLRequest = new URLRequest("0301_objectives2.swf");
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete);
swfLoader.load(bgURL);
function loadProdComplete(e:Event):void {
trace("file loaded");
}

```
