# Probability

**URL:** https://forum.kirupa.com/t/probability/178235
**Category:** flash
**Created:** [February 8, 2006, 7:03pm UTC](https://forum.kirupa.com/t/probability/178235 "2006-02-08T19:03:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Horrel](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Horrel](https://forum.kirupa.com/u/Horrel)
#### Post date: [February 8, 2006, 7:03pm UTC](https://forum.kirupa.com/t/probability/178235/1 "2006-02-08T19:03:07Z")

</div>

Hi,

I’m new to all this, so I apologise if this is the wrong forum, but I have a quesiton about probability.

Is it possible to create multiple animations, for this sake called x and y and then on the event of clicking something like a button, there is, perhaps, a 25% chance that animation x will be played and a 75% chance that animation y will appear?

If anyone can help or point me in the direction of help, it will be greatly appreciated.
