# Multiple conditions for a single button

**URL:** <https://forum.kirupa.com/t/multiple-conditions-for-a-single-button/278535>\
**Category:** Uncategorized\
**Created:** [January 1, 2009, 3:27am UTC](https://forum.kirupa.com/t/multiple-conditions-for-a-single-button/278535 "2009-01-01T03:27:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saintdave](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@saintdave](https://forum.kirupa.com/u/saintdave)\
**Post date:** [January 1, 2009, 3:27am UTC](https://forum.kirupa.com/t/multiple-conditions-for-a-single-button/278535/1 "2009-01-01T03:27:49Z")

</div>

Hey all…

I have a small problem. I don’t know how to code this…

I made a trivia game, and there is a final button that will show you the score you got on the quiz.  
When the button is clicked, based on the score, it will play a movie clip with “you scored 10%”, etc…

There are 5 possible outcomes, 20% 40% 60% 80% 100%…  
When the button is pressed, it has to play the movie clip with the corresponding percentage…

Any help is appreciated!
