PDA

View Full Version : Can a Flash object interact with any form fields


joshwines
10-22-2009, 06:42 AM
I am building an interactive questionnaire in which the user will interact with a Flash object on the page and then submit the form. Can the flash object in any way update any of the form field values on the page?

For example, there might be an interactive Flash object where the user has to click on a certain area and in doing so the flash form would update a form field with whatever details are required about what the user clicked so we can capture this after the form is posted.

greetification
11-10-2009, 07:50 PM
well, to accomplish what you are trying to do you'll have to use make an externalInterface call, and then have the JS update the HTML form fields.

A better question is why not just have the flash form fields be the ones that submit? Why bother having html form fields at all?