FMX Positiong on screen

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!?

Howdy…

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


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: