# Conditional statement

**URL:** <https://forum.kirupa.com/t/conditional-statement/211716>\
**Category:** flash\
**Created:** [January 4, 2007, 3:02pm UTC](https://forum.kirupa.com/t/conditional-statement/211716 "2007-01-04T15:02:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lejonberg](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lejonberg](https://forum.kirupa.com/u/lejonberg)\
**Post date:** [January 4, 2007, 3:02pm UTC](https://forum.kirupa.com/t/conditional-statement/211716/1 "2007-01-04T15:02:05Z")

</div>

Dear all,  
I’m designing an application that will calculate energy needs for horses. This takes a lot of user input, e.g. age, weight, gender, activity, etc. I collect the input and use it in simple formulas to arrive at a certain energy value.

A major structural divide is wether the horse is less than 3 years old or not. So, I ask this question and move to one of two forms/movies. First question, how is this conditional branching done, if \>3 years go to movie/form A else movie/form B? Second question, should I use forms or movies? This is to get me started!

I get the part with setting up text boxes for input etc. Also, I’m not totally new to programming just new to Flash, which by the way seems like a very cool piece of software.

Sincerely, Lejonberg
