clickTag with URL Parameters

I have these 2 functions in a Flash file banner:

ON THE TEXT BOX
on (keyPress("<ENTER>")) {
    getURL("http://www.domain.com/Landing.aspx?source=41","_blank","POST");
}

AND ON THE BUTTON
on (release) {
    getURL("http://www.domain.com/Landing.aspx?source=41", "_blank");
}

Inside the file, the text box is phone and it passes phone along with the url, like this:
http://www.domain.com/Landing.aspx?source=41&phone=VALUEFROMTEXTBOX

Now, I need to add clickTag for advertisers to track the clicks? How can I code the function to send the url (http://www.domain.com/Landing.aspx?source=41) 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.
F4ExpertsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vickerleungCommented:
F4Experts,

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 :)

Vicker
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.