clickTag with URL Parameters

Posted on 2004-11-09
Last Modified: 2008-03-17
I have these 2 functions in a Flash file banner:

on (keyPress("<ENTER>")) {

on (release) {
    getURL("", "_blank");

Inside the file, the text box is phone and it passes phone along with the url, like this:

Now, I need to add clickTag for advertisers to track the clicks? How can I code the function to send the url ( and the parameter &phone=VALUEFROMTEXTBOX

I have tried this and it doesn't work:

on (keyPress("<ENTER>")) {
    getURL(clickTag add "&phone=" add phone);

That appends &phone to the end of the current URL.

Thank you in advance.
Question by:F4Experts
    1 Comment
    LVL 16

    Accepted Solution


    I suggest a debug method to you here

    Use another variable to store the things first, trace it before putting inside the getURL

    modified_url = clickTag add "&phone=" add phone;
    trace (modified_url);
    getURL(modified_url, "_blank", "POST");

    See if the output is what you wanna have before using is more secure :)


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now