A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Getting an input box to set a variable?

  1. #1
    Registered User greenham's Avatar
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    555

    Getting an input box to set a variable?

    I hate to ask this question because I should be able to figure it out myself. Yet, I've spent several hours trying, and to no avail.

    I have an input box and in its properties I've set the Var: to the variable I wish it to set. I also have a button that calls upon the variable to make a calculation that is not working. I've tried to trace the value of the variable, and it comes up as 'undefinded.'

    Is there something special I must do to reference this variable? Must I declare it before the input box can give it a value?

    Any would be greatly appreciated.

  2. #2
    Registered User greenham's Avatar
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    555
    Wouldn't you know you? I've managed to solve the problem minutes after posting this! Unforuntately, I have no idea why it started working.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center