# OR statement help

**URL:** <https://forum.kirupa.com/t/or-statement-help/189433>\
**Category:** flash\
**Created:** [June 2, 2006, 2:01pm UTC](https://forum.kirupa.com/t/or-statement-help/189433 "2006-06-02T14:01:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr77](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dr77](https://forum.kirupa.com/u/dr77)\
**Post date:** [June 2, 2006, 2:01pm UTC](https://forum.kirupa.com/t/or-statement-help/189433/1 "2006-06-02T14:01:47Z")

</div>

Hello… i’m new to Flash and have a fairly simple question…

Is it possible to have script which tells a dynamic text box to contain “this text” OR “that text” OR “the other text” and for it to randomly select one of these options?

**Something like this:**

\*\*textBox\_txt.text = “This” OR \*\*  
**textBox\_txt.text = “That” OR**  
**textBox\_txt.text = "The other"**

**and so on**

Cheers in advance for any help…

David
