# Movie Clips as buttons

**URL:** <https://forum.kirupa.com/t/movie-clips-as-buttons/125546>\
**Category:** Uncategorized\
**Created:** [October 14, 2004, 5:46pm UTC](https://forum.kirupa.com/t/movie-clips-as-buttons/125546 "2004-10-14T17:46:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzaguy234](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@pizzaguy234](https://forum.kirupa.com/u/pizzaguy234)\
**Post date:** [October 14, 2004, 5:46pm UTC](https://forum.kirupa.com/t/movie-clips-as-buttons/125546/1 "2004-10-14T17:46:36Z")

</div>

Im back again, still havin some issues with flash, grrrrrrrr.

anyway, i have followed this tutorial [http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm) to add transitions between my loaded swf

i have set up all the files, and can load the home aniation into the movieclip.

the problem i am facing is that the code which is sposed to trigger the loading of the new movie does not work correctly.

I managed to narrow it down to the fact that i am using movies as buttons instead of buttons as buttons. so i can have rollover and rolloff effects.

i tryed modifying the following code

on (release) { if (\_root.currMovie == undefined) { \_root.currMovie = “work”; container.loadMovie(“work.swf”); } else if (\_root.currMovie != “work”) { if (container.\_currentframe \>= container.midframe) { \_root.currMovie = “work”; container.play(); } } }replacing on (relase) with onClipEvent (mouseDown) but still no luck, so have any of you got any ideas??

cheers for the help. andy.
