6 Replies Latest reply on Jun 20, 2008 2:33 PM by CHAOS'|nc.

    Getting Flash form data as a variable?

    FreddyU
      Hi,

      I really don't have any actionscript experience, so please bear with me!

      Is there anyway I can put an input box (like a form... you know) into my flash project and have the info entered in it stored as a variable? I need the user to be able to enter numbers and have the flash project accept them as variables.

      If I were doing this in Javascript, I would use parseint... something like: var n1=parseInt(n1.value);

      Now n1 is set to whatever number the user has put into the input box.

      I found that parseint also exists in actionscript, but it didn't seem to have the same usage. Is there any way I can do this? Or is it completely weird and impossible in Flash and I'm just being silly?

      Thanks