|Syntactic Confectionery Delight|
HTML Form -> HTML output + Flashby wil (Priest)
|on Dec 11, 2002 at 10:43 UTC||Need Help??|
wil has asked for the
wisdom of the Perl Monks concerning the following question:
I'm playing around with loading form variables into Flash and I'm running into some logistical problems as well as some programming ones.
This is what I am trying to do:
1. HTML Form to be filled out by user.
2. HTML page outputted including a Flash movie (on the page), which needs to read a few variables from the form, filled out earlier.
Now I'm just having problems getting my head around loading up a HTML page and making available the variables to Flash. Why? Well, I need to output a Content-type:text/html to the browser to render the HTML and it seems I need to output a document-www-form type header for the Flash to be able to read the variables.
So how do I go about this? Can I write a script that outputs a text/html header and outputts HTML _and_ include a flash movie on that page that also needs to access the variables sent from the html form on the previous page?
I'm sure this is all relatively simple. I just need to get my head around it. Thanks for any help you can offer.