Form in swf flash website?

  • Profile Image
    Asked on March 21, 2011 at 11:52 AM

    can i add a form into a swf flash website?

    i don't usually use flash websites, just html so please be specific with any instructions.

  • Profile Image
    Answered on March 21, 2011 at 12:05 PM

    hi there,

    Flash does have some limited support for html areas using the htmlText property.  However you might have some problems with the associated javascript.  You could try to embed Jotform using a script block rather than the full source code.  To do that, go to your form and click "Embed Form", then select "Embed"

    Also take a look at this Adobe page in htmlTest



  • Profile Image
    Answered on March 21, 2011 at 12:33 PM

    where would i embed the code?


    is there a way to use a form made within flash through jotform?

    I put this in the actions for the frames:

    formtext.html = true;
    formtext.html = <script src=""></script>;

    The above code gives me a operand error...

    Let's say i do this:

    formtext.html = true;
    formtext.html = "<script src=""></script>";

    Then the "<script src=" turns green and the rest of the code greys out... what operand can i put in there to avoid this?

  • Profile Image
    Answered on March 22, 2011 at 10:30 AM


    As I say, there is only limited support for HTML and many tags are ignored, so it might not work.  But you should be using fieldname.htmlText rather than fieldname.html. Also, you are using the same quotes throughout your string, so actionscript thinks that the quote closes half way through the string.  Try using double and single quotes (for the src part)  to break it up.

    So, using your example code it would be.

    formtext.html = true;
    formtext.htmlText = "<script src='//'></script>";