# Rollover - I want to 'swap' movieclips?!

**URL:** <https://forum.kirupa.com/t/rollover-i-want-to-swap-movieclips/325203>\
**Category:** flash\
**Created:** [October 1, 2011, 8:45am UTC](https://forum.kirupa.com/t/rollover-i-want-to-swap-movieclips/325203 "2011-10-01T08:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokartracer101](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gokartracer101](https://forum.kirupa.com/u/gokartracer101)\
**Post date:** [October 1, 2011, 8:45am UTC](https://forum.kirupa.com/t/rollover-i-want-to-swap-movieclips/325203/1 "2011-10-01T08:45:59Z")

</div>

Hi guys,

Newly signed up, after trawling around here for a solution to my problem for a while! I didn’t think something so seemingly simple would be so difficult to solve…so here goes;

[http://elbee101.com/rollover.zip](http://elbee101.com/rollover.zip)

Is the .fla and .swf so you can see my lame attempt at what I’m trying to achieve. I’m trying to simplify the problem before I go down the full path, hence the simple square rollover animation and reverse rollout.

A tile, you rollover it and it grows…can do! rollout and I’d like the box to re-tract, hence I’m playing the ‘reverse’ animation. Yet I can still see the ‘expanded’ box underneath?! I want this to be gone/not visible, and then the next time I rollover the (small) tile, it grows etc…

I’ve tried removechild, then creating a new dynamic movieclip and I’m getting lost with what I think its name is. At one point I even managed to jump this little hurdle, then only for the next time I rollover the tile, nothing happens, as I assume its instance name is no longer ‘btn’…?? Thoroughly confused!!

I’m digging a hole, and its filling with water! Any help would be greatly appreciated please 🙂
