# \[fmx\] attachMovie and animate it?

**URL:** <https://forum.kirupa.com/t/fmx-attachmovie-and-animate-it/18597>\
**Category:** flash\
**Created:** [April 18, 2003, 12:41pm UTC](https://forum.kirupa.com/t/fmx-attachmovie-and-animate-it/18597 "2003-04-18T12:41:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elmago](https://avatars.discourse-cdn.com/v4/letter/e/848f3c/32.png) [@elmago](https://forum.kirupa.com/u/elmago)\
**Post date:** [April 18, 2003, 12:41pm UTC](https://forum.kirupa.com/t/fmx-attachmovie-and-animate-it/18597/1 "2003-04-18T12:41:53Z")

</div>

Hi there

Im making a meny using attackMovie. I would like to animate the buttons out to their final y coordinate instead of them just popping upp. Here is my as, hope you understand my problem.

this function I call when pressing Artist in the main meny and the buttons attach beneath the Artist button.

function createArtistButtons(){  
var i = -1;  
while(++i \< 6){  
ime = “links” + i;  
\_root.menuArtists.attachMovie(“links”, ime, i);  
\_root.menuArtists[ime].\_y = Yspace \* i;  
\_root.menuArtists[ime].linkNumber.text = count\*;  
\_root.menuArtists[ime].linkText.text = artistsT\*;  
}  
}

as you can see I put out the buttons at their final destination, but I would like to animate them out to that destination using as. Im just a newbie… this is maybe easier than I might think.

Rock hard
