Limiting variables passed in getURL

Ask a Question related to Macromedia Flash Ad Development, Design and Development.

  1. #1

    Default Limiting variables passed in getURL

    Is there a way to limit the variables that get passed into the URL when using
    getURL?

    Basically I have this:
    getURL(_root.clickTAG, "_top", "GET");

    that ends up being:

    [url]http://www.pricecanada.com/search.asp?clickTAG=http%3A%2F%2Fwww%2Epricecanada %2E[/url]
    com%2Fsearch%2Easp&myReturnKey=%5Bobject+Object%5D &andor=AND&search=mp3

    Even the clickTAG var is being passed! I do need to pass a value coming from
    an inputBox in the SWF but that would be it.


    Thanks,
    Mike


    mjpawlowsky Guest

  2. Similar Questions and Discussions

    1. Using ASP Passed Variables in Flash
      I am trying to take variables passed from an ASP page or just plain txt file MIME formated. I know my variables are getting to the flash movie...
    2. PASSING VARIABLES WITH getURL
      Hopefully, this is a simple answers. Need to pass variables to a .cfm page in another frame using getURL. getURL("frame2.cfm","bottom","POST") ...
    3. CFGRID variables not passed
      Hi there all I have a problem we have an NT4 server with CF5 installed and a website that has a cfgrid that selects users from the database to...
    4. Controlling Sent Variables in getURL
      is there a way to control sent variables using getURL. Ive tried putting them into the second set, but it doesn't seem to work......
    5. Array of passed variables
      I have a search page within an application I'm developing. The search page could have over a dozen variables passed to it, not through a POST or...
  3. #2

    Default Re: Limiting variables passed in getURL

    I hate this too. Unfortunately, I don't think there is a way around
    this. I haven't tried, but you might be able to get away with calling
    geturl() from the movieclip that has all the variables. Of course this
    means you'll have to move your input box there as well.

    Otherwise, you've got to do it all by hand.

    geturl(clickTAG + "?inputbox=" + textbox, "_top");

    It's not pretty, but if you don't have a ton of variables, it's not too
    tough.

    !lurk Guest

  4. #3

    Default Re: Limiting variables passed in getURL

    Create an empty movie clip, add the variables you want to pass to it, and issue a getURL on it.

    jht1900 Guest

  5. #4

    Default Re: Limiting variables passed in getURL

    jht1900,
    > Create an empty movie clip, add the variables you want to
    > pass to it, and issue a getURL on it.
    Well said. Alternatively, use the LoadVars class, which requires
    instantiation (and therefore a pristine object of its own).


    David
    stiller (at) quip (dot) net
    "Luck is the residue of good design."


    David Stiller Guest

  6. #5

    Default Re: Limiting variables passed in getURL

    David's suggestion works great. It took me a while to figure it out. Here's
    an example...

    sendLV = new LoadVars();
    sendLV.g = "hello";
    sendLV.send("phpfile.php","POST");

    Good luck

    stephan

    stephan.k Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139