A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] using getURL to send variables

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    7

    [CS3] using getURL to send variables

    Hi,

    I'm trying to launch a website today and we have a navigable flash banner as one of the main sections. One of the features of this section is the ability to 'Send to a friend'. Up until now I've been using "getURL" to send an address out of flash to a script that then handles the rest of the process. It all works fine except the method causes flash to open a new blank window with the URL sitting there in the address bar which obviously isn't ideal for a number of reasons.

    How can I hide this process from the user? Currently, the url that is output is in the format of:

    ***.com/flash_post/process_flash_post/index/54tdr9kgfdlgmdklk/[email protected]&pathWay=inspirationinformatio n

    I'm a pretty new user to AS so please bare this in mind if offering help.

    Thanks so much!

  2. #2
    ___________________
    Join Date
    May 2004
    Posts
    3,174
    PHP Code:
    var loader = new LoadVars();
    loader.email "[email protected]";
    loader.pathWay "inspirationinformation";
    loader.sendAndLoad("domain.com/serversidescript.php",loader,"POST"); 
    my 2's a little rusty but that should work

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