Hello,
I have a text input field called 'phone' and a button with the GetUrl function.
Button script looks like this:
on (release)
{
getURL(''http://url/sendlink.page?country=160%26amp;phone=phone%26amp;keyword=33%26amp;msgtype=26'', '''', ''POST'');
}
First of all when I press the button nothing happens. When I paste the link directly into my browser everythinbg works as it should. But not from flash file.
Second I need help with adding the 'phone' variable into the hyperlink. What do I write? Something like this:
http://url/sendlink.page?country=160%26amp;phone=#form.phone#%26amp;keyword=33%26amp;msgtype=26http://url/sendlink.page?country=160%26amp;phone=#form.phone#%26amp;keyword=33%26amp;msgtype=26
Please help me. Thanx!
Hyperlink button with variable from...1.?test online or fix your security settings:?http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_man ager04a.html
2.?use:
on (release)
{
getURL(''http://url/sendlink.page?country=160%26amp;phone=''+yourphonetextfield.text+''%26amp;keyword=3 3%26amp;msgtype=26'', '''', ''POST'');
}
Hyperlink button with variable from...
Thanx! It worked when I tested it online.
But I can't get the phone variable to follow the hyperlink.
I have attached the .FLA file and would be really thankful if you could look at it.
Thank you! It works when going online.
But I still encounter some problems with the phone variable.
I have attached the .FLS file. Could you please look at it?
no fla was attached and i generally don't download and correct files unless i'm hired to do so.?you can send email via my website ( www.kglad.com ) if you want to hire me.
for free help in this forum, post the code you used on your button.
Thanx,
It worked fine when I put it online
But the hyperlink is not working. Here is the code:
on (release)
{
getURL(''http://wap.telli.no/sendlink.page?country=160%26amp;phone=''+phone.text+''%26amp;keyword=33%26amp;ms gtype=26'', '''', ''POST'');
}
What am I doing wrong? Button and text input field are on the same layer, could this have any affect?
Sorry, I got error message when I tried to upload file. But the message was posted anyways.
I will look into your website and contact you there. We will need more help with similar issues in the near future.
I have a deadline for some flashbanners now on friday so I need to finish this quicky myself this time. But we will discuss further cooperation
do you have a textfield named phone on the current timeline?
to test, use trace(''http://wap.telli.no/sendlink.page?country=160%26amp;phone=''+phone.text+''%26amp;keyword=33%26amp;ms gtype=26'')
Yes, I have a textfield on the same timeline/layer. Sorry, but I'm not sure how to use the Trace. (Where to put it)
I now tried to change the phone=.... to phone=41088800 (my phonenumber)
http://wap.telli.no/sendlink.page?country=160%26amp;phone=41088800%26amp;keyword=33%26amp;msgtype= 26
When I paste this message into the browser everything works fine and I get the SMS message on my phone. But in flash I get the 'Invalid phonenumber' message. And the link in the browser looks like this:
http://wap.telli.no/(S(zi50xx45jlqpdf550i3xj055))/sendlink.page?country=160%26amp;phon e=
Same as when we use input data from text field. Coulkd there be something else wrong maybe?
Flash file is uploaded on server: http://interactel.comxa.com/test.html
Appriciate your help Mr.
do you also see what you expect when you use:
on (release)
{
getURL(''http://wap.telli.no/sendlink.page?country=160%26amp;phone=41088800%26amp;keyword=33%26amp;msgtype= 26'' , '''');
}
I still get the Invalid phonenumber message.
I should get an OK message and a SMS message on my phone.
Try pasting this link into your browser and you will see:
http://wap.telli.no/sendlink.page?country=160%26amp;phone=41088800%26amp;keyword=33%26amp;msgtype= 26
i see OK when pasted in my browser and when i use getURL().
if you fail to see OK when using getURL() either upload your flash files and test online or adjust your security settings:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_man ager04.html
I am testing online. At http://interactel.comxa.com/test.html
I have checked my security settings and everything is allowd.
Do you get OK when testing on this url: http://interactel.comxa.com/test.html or do you test on your own server or something?
My script needs to work for common people that has standard security setting
Could there be any settings on my webserver you think?
Also, another question; is it possible to not send the users to the OK page, but anyway send the info in the URL to the server? So the users will not leave the site where thye banner is located?
nd then display a message after pressing the button?
i'm testing locally.?i would see the same if i uploaded to my server.
No comments:
Post a Comment