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.

- wil

In reply to HTML Form -> HTML output + Flash by wil

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.