# Creating variables for if statements

**URL:** https://forum.kirupa.com/t/creating-variables-for-if-statements/175981
**Category:** flash
**Created:** [January 19, 2006, 12:18pm UTC](https://forum.kirupa.com/t/creating-variables-for-if-statements/175981 "2006-01-19T12:18:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)
#### Post date: [January 19, 2006, 12:18pm UTC](https://forum.kirupa.com/t/creating-variables-for-if-statements/175981/1 "2006-01-19T12:18:34Z")

</div>

Hi,

How can I randomly create some variables as the movie loads so I´ll be able to use this variables as a if statement later on and make the movie play diferent labels???

Thanks for any help
