1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is It Possible To Insert Variable To Flash & Download The Updated File?

Discussion in 'PHP & Perl' started by gimme4free, Jan 25, 2009.

  1. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,932
    E.g:

    Form on site with:
    text-field: Whatever the user inputs
    name:$text

    Then the submit button/action as:
    flashfile.swf?variable=$text

    Then in the AS of the flash file a line like:
    Some stuff here $text and then some more stuff here

    And then once the user submits the form the $text is inputted into the AS of the file and the flash file is force downloaded onto the users PC.

    Is this possible? I have seen it done before and can only assume that this is how it was done.
     
  2. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,932