# Simple .swf x,y, positioning problem

**URL:** <https://forum.kirupa.com/t/simple-swf-x-y-positioning-problem/254970>\
**Category:** flash\
**Created:** [March 17, 2008, 8:19pm UTC](https://forum.kirupa.com/t/simple-swf-x-y-positioning-problem/254970 "2008-03-17T20:19:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteelCity](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@SteelCity](https://forum.kirupa.com/u/SteelCity)\
**Post date:** [March 17, 2008, 8:19pm UTC](https://forum.kirupa.com/t/simple-swf-x-y-positioning-problem/254970/1 "2008-03-17T20:19:16Z")

</div>

With the highlighted lines I’m trying to change the position on the page that the .swf loads to. This is the button code that calls up the external .swf.  
Any help?

}  
on(release){  
loadMovieNum (“scroller1.swf”,1);  
\_root.onEnterFrame = function(){  
if (\_level1 != undefined){  
[COLOR=“Red”]**\_level1.\_x = 300;  
\_level1.\_y = 200;**[/COLOR]  
delete \_root.onEnterFrame;  
}  
}  
}
