A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash, ASP & POST Variables

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    2

    Flash, ASP & POST Variables

    This seems like it would be simple, but I have just not been able to get it to work.

    I have a ridiculously simple application.

    An ASP/HTML form ("sender.asp") has a text field ("textField1") and a submit button. The form is pointed at a second ASP page ("receiver.asp")which uses Request.form("textField1") to extract the submitted value from the form.

    I know the variable is being passed because Response.Write textField1 returns the submitted variable.

    Is there a way to get Flash to load this variable, submitted via POST?

    I have made this work successfully with FlashVars, GET & QueryString, but I do not want the variable to be visible in the URL, so I need to use POST.

    Any help would be greatly appreciated.

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Posts
    2
    Resolved this myself by using FlashVars and setting VALUE="<% Response.Write (textField1)%>. You can also build a string in this field to pass multiple values.

    Thanks.

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Posts
    148
    glad you found the solution and thanks posting up a follow-up to your own post as I'm sure it'll help others if they encounter similar problems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center