# Best way to do a random rollover animation

**URL:** <https://forum.kirupa.com/t/best-way-to-do-a-random-rollover-animation/118985>\
**Category:** Uncategorized\
**Created:** [August 10, 2004, 5:44pm UTC](https://forum.kirupa.com/t/best-way-to-do-a-random-rollover-animation/118985 "2004-08-10T17:44:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbetta](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mbetta](https://forum.kirupa.com/u/mbetta)\
**Post date:** [August 10, 2004, 5:44pm UTC](https://forum.kirupa.com/t/best-way-to-do-a-random-rollover-animation/118985/1 "2004-08-10T17:44:18Z")

</div>

hello all,

just so you know i’m new to this forum, and a beginner at actionscript. 😏

could anyone give me some tips on the best way to make a rollover – but as you rollover it, it plays a random animation? (even if it’s not random but one in a series of 4 or 5)…

hope this makes sense… please try and be specific with reference to the AS, or i will be confooozled… :huh:

ps. i know how to make a rollover button, it’s just the random part i don’t know how to do.

thanks!  
betta
