# Random Keyframe on mouse click

**URL:** <https://forum.kirupa.com/t/random-keyframe-on-mouse-click/68722>\
**Category:** flash\
**Created:** [October 28, 2004, 8:31am UTC](https://forum.kirupa.com/t/random-keyframe-on-mouse-click/68722 "2004-10-28T08:31:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mooey](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@Mooey](https://forum.kirupa.com/u/Mooey)\
**Post date:** [October 28, 2004, 8:31am UTC](https://forum.kirupa.com/t/random-keyframe-on-mouse-click/68722/1 "2004-10-28T08:31:00Z")

</div>

I’ve searched everywhere and I can’t find the answer.

I’ve got 10 keyframes with a image on each one. When the user clicks the button i’d like it to go to a random keyframe.

I know its simple but I cant figure it out.

Cheers.
