# Linking ext swf

**URL:** <https://forum.kirupa.com/t/linking-ext-swf/190613>\
**Category:** Uncategorized\
**Created:** [June 8, 2006, 3:01pm UTC](https://forum.kirupa.com/t/linking-ext-swf/190613 "2006-06-08T15:01:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FedEx](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@FedEx](https://forum.kirupa.com/u/FedEx)\
**Post date:** [June 8, 2006, 3:01pm UTC](https://forum.kirupa.com/t/linking-ext-swf/190613/1 "2006-06-08T15:01:04Z")

</div>

Hey, Im trying to link an ext swf into my MC but Ive trying a lot and cant working out. Its supposed to be easy stuff, but I have hammered my mind hours and figure whats wrong. Its a full screen swf.  
Im using a blank MC.  
Im uding this code (it has a reposition code bfore, the actual one is in red.

Stage.scaleMode = “noscale”;  
Stage.align = “tl”;  
Stage.addListener({onResize:reposition});  
function reposition() {  
var mc = \_root.nav\_mc;  
var newX = Math.floor(50);  
var newY = Math.floor((Stage.height - mc.\_height) / 2);  
mc.\_x = newX;  
mc.\_y = newY;  
var mc1 = \_root.content\_mc;  
var new1X = Math.floor((Stage.width-mc1.\_width)/2);  
var new1Y = Math.floor((Stage.height-mc1.\_height)/2);  
mc1.\_x = new1X;  
mc1.\_y = new1Y;  
};  
reposition();  
[COLOR=Red]\_root.nombre = “home”;  
\_root.content\_mc.loadMovie(\_root.nombre+".swf");[/COLOR]  
stop();

It is supposed to work but I cant make it…  
Ill post the fla anyway, can anybody help?
