# FMX Positiong on screen

**URL:** https://forum.kirupa.com/t/fmx-positiong-on-screen/14302
**Category:** flash
**Created:** [February 24, 2003, 8:14pm UTC](https://forum.kirupa.com/t/fmx-positiong-on-screen/14302 "2003-02-24T20:14:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![McFluff03](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@McFluff03](https://forum.kirupa.com/u/McFluff03)
#### Post date: [February 24, 2003, 8:14pm UTC](https://forum.kirupa.com/t/fmx-positiong-on-screen/14302/1 "2003-02-24T20:14:50Z")

</div>

Hi  
i want to make a movie clip appear in the same spot on screen ever time a button is pressed.  
i need to apply action script to it as the movie clip is draggable and the user can position it any where, that is why i want to reposition it to the same sopt on the screen every time the button is press

Can anyone help!?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 24, 2003, 9:57pm UTC](https://forum.kirupa.com/t/fmx-positiong-on-screen/14302/2 "2003-02-24T21:57:48Z")

</div>

Howdy…

If you want to place your movieclip into a certain coordinate when the button is pressed,

```php

yourButton.onPress = function ()
{
   _level0.yourMovieclip._x = 100;
   _level0.yourMovieclip._y = 200;
}

```

this script should do the job for you, but I am not sure if this is what you want… :sleep:
