# Looking for help to center an external swf to use as tite

**URL:** <https://forum.kirupa.com/t/looking-for-help-to-center-an-external-swf-to-use-as-tite/330020>\
**Category:** Uncategorized\
**Created:** [November 19, 2012, 9:05pm UTC](https://forum.kirupa.com/t/looking-for-help-to-center-an-external-swf-to-use-as-tite/330020 "2012-11-19T21:05:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boita](https://avatars.discourse-cdn.com/v4/letter/b/a183cd/32.png) [@boita](https://forum.kirupa.com/u/boita)\
**Post date:** [November 19, 2012, 9:05pm UTC](https://forum.kirupa.com/t/looking-for-help-to-center-an-external-swf-to-use-as-tite/330020/1 "2012-11-19T21:05:04Z")

</div>

hi im using a flash website and i added a title  
that actualy is an swf the way i did it  
it was by inserting the element to the action scrip

var Xpos:Number=60;  
var Ypos:Number=5;  
var swf:MovieClip;  
var loader:Loader=new Loader();

var defaultSWF:URLRequest= new URLRequest(“swfs/title.swf”);

loader.load(defaultSWF);  
loader.x=Xpos;  
loader.y=Ypos;  
addChild(loader);

but now im facing the never ending problem of centering

becuase i did it in screan 1024 x760 and for me it looks good i just notice now that in other resolutions  
the title(swf) is not centered with the website  
does anyone know a way to solve this?
