A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Sending vars to asp!

  1. #1
    Senior Member
    Join Date
    Nov 2000
    Posts
    126

    Post

    I have about hundred mc´s containing buttons that when pressed will send 2 specific variables to an .asp-page using LOADVARIABLES (the url to the asp), SEND USING POST.
    The question is; How do I specify which variables Flash will send?! Or will it send all my variables I have in my movie (many...) or just the variables within the mc?

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Posts
    126

    Smile Ok, I made it...

    Instead of using LOADVARIABLES I used GET URL(thepage.asp?variable1=value1&variable2=value2) .
    In case of anyone want to do the same...

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Location
    London
    Posts
    961
    I think Flash will send all your variables using this method.

    There may be a way of using get URL using variables in the URL to produce something like:

    Get URL "www.yourname.com/page.asp?variable1=one&variable2=two"

    Don't know how to do this but I guess it might be something like:

    Get URL "www.yourname.com/page.asp?variable1="+variable1+"&variable2="+varia ble2

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