# MovieClip Switching

**URL:** <https://forum.kirupa.com/t/movieclip-switching/302240>\
**Category:** flash\
**Created:** [December 24, 2009, 3:41am UTC](https://forum.kirupa.com/t/movieclip-switching/302240 "2009-12-24T03:41:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkforces](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@darkforces](https://forum.kirupa.com/u/darkforces)\
**Post date:** [December 24, 2009, 3:41am UTC](https://forum.kirupa.com/t/movieclip-switching/302240/1 "2009-12-24T03:41:21Z")

</div>

Alright, I’ve been trying to figure this out for a while and haven’t had any luck, so I’m submitting myself to the masses. In the game I’m working on, my character has a hat. Currently, if you click the hat, it will change from a fedora to a top hat. However, if I make any movements, it will automatically switch back to the fedora. I want it to remain the top hat until I click it again.

The current setup is a movie clip with the fedora on frame one and the top hat on frame two, and clicking switches the frames. I don’t know if this is an easy correction or not, but it’s stumped me.

here’s a link to view the program, it may take a little bit of time to load, right click and zoom if necessary.  
[http://darkforces.fileave.com/MainV2.swf](http://darkforces.fileave.com/MainV2.swf)

Thanks in advance.
