PDA

View Full Version : about input text + getUrl(sms) stuff


cross05
09-14-2007, 07:54 AM
Hi, i need help regarding input text and getUrl stuff. Im new in flash
lite and actionscript so i dont have much idea. So please help me >.<

i need to put the value of input text (ex: input text Recepients #
12345) for geturl(sms) and display the text and input text value into
a text message. (something like this getURL("sms:1111?body=BAL <input
text value>) so it can diplay a text message like this
(to:1111 msg:BAL 12345)

tried this one but didnt work

on (keyPress "<Enter>") {
getURL("sms:1111?body=BAL" +input_txt.text)
}

input text var name and instance name is input_txt. Oh im using flash lite 1.1 please help me thx

ps:
I got problems in expressing myself in english so please bear with me
and i hope you get what i mean >.<

or if you can, please make a simple input text to getUrl(sms) for me, please.
thank you very much

cross05
09-14-2007, 08:43 AM
tried this one but since i forgot my cp i cant test it yet
on (keyPress "<Enter>") {
myMessage="sms:1111?body=BAL " add input_txt.text
getURL(myMessage);
}

is myMessage output = getURL("sms:1111?body=BAL input_txt") or just getURL("sms:2882?body=BAL" input_txt) or getURL(sms:2882?body=BAL input_txt)??

test result:
oh crap.. the output is to:1111 msg:BAL
:( i need an output of to:1111 msg:BAL 1234 (assuming input_txt value is 1234)
please help