A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: POST or GET: how to define?

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Location
    Virginia, USA
    Posts
    437

    POST/GET: how to define which var to send?

    Can I pick and choose which var to send? or Flash just sends them all?
    Last edited by rapidcarbon; 12-10-2003 at 04:39 AM.
    Still looking for a freelancer to work on my footer!

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    The loadVariables ( with POST or GET ) action sends any variables in the current timeline.

    There are two ways so send just the ones you want. Either you put the action in a separate movieclip and define which variables from another timeline to include or put the variables in the URL string ( without POST or GET ( it will work as GET but with just the specified variables)).... like...

    this.loadVariables("mysite.com?myVar1="+myVar1+"&m yVar2="+myVar2);

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Senior Member
    Join Date
    Jun 2001
    Location
    Virginia, USA
    Posts
    437

    hmm

    I wish they have something like this, loadVariables("myfile.php",0, "POST", [var1, var2, var3 ...]);

    maybe in Flash MX 2006, you think?
    Still looking for a freelancer to work on my footer!

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