# How to create cases in flash?

**URL:** <https://forum.kirupa.com/t/how-to-create-cases-in-flash/223562>\
**Category:** Uncategorized\
**Created:** [April 23, 2007, 10:51pm UTC](https://forum.kirupa.com/t/how-to-create-cases-in-flash/223562 "2007-04-23T22:51:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badmonur](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@badmonur](https://forum.kirupa.com/u/badmonur)\
**Post date:** [April 23, 2007, 10:51pm UTC](https://forum.kirupa.com/t/how-to-create-cases-in-flash/223562/1 "2007-04-23T22:51:23Z")

</div>

In some languages there are things like

case 1 {  
do this

case 2  
dot that

case 3  
do the other

case 4  
more stuff  
}

To eliminate the use of lots of if statements, is there anything like that in flash
