# Input variables - a noob's plea

**URL:** https://forum.kirupa.com/t/input-variables-a-noobs-plea/196270
**Category:** flash
**Created:** [August 7, 2006, 9:10am UTC](https://forum.kirupa.com/t/input-variables-a-noobs-plea/196270 "2006-08-07T09:10:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![paleo\_soldat](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@paleo\_soldat](https://forum.kirupa.com/u/paleo_soldat)
#### Post date: [August 7, 2006, 9:10am UTC](https://forum.kirupa.com/t/input-variables-a-noobs-plea/196270/1 "2006-08-07T09:10:44Z")

</div>

hey,

the thing is, im trying to get me program to take a variable set by the user and apply it to  
a formula, within another variable. So when the button is clicked and the user has inputted  
their number, the number gets subbed into this formula that makes another variable. This is what i have so,

this.submit.onRelease= function() {  
fractal();  
}  
this.submit.onRelease = function() {  
anglex=input\_txt.text;  
}

This is the ‘thing’ that tells the function to ‘go’. The function works if a substitute a value  
instead of a variable

Any help, hints or tips would be greatly appreciated  
(p.s. this is my first post so if im doing anything wrong please tell me)
