<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; height="262"
width="502" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]"
backgroundGradientColors="[#DFDFDF, #FFFFFF]">
 <mx:Script>
  <![CDATA[
   import mx.rpc.events.ResultEvent;
   import mx.controls.Alert;
   public function res(e:ResultEvent)
   {
    Alert.show('Message Successfully Send');
   }
  ]]>
 </mx:Script>
 <mx:WebService id="WS" wsdl="http://www.aswinanand.com/sendsms.php?wsdl";
showBusyCursor="true">
 <mx:operation name="sendSMSToMany" result="res(event)">
  <mx:request>
   <uid>
    {'your login id'}   //enter your login id here
   </uid>
   <pwd>
    {'your password'} // enter your password
   </pwd>
   <phone>
    {phn.text}
   </phone>
   <msg>
    {sms.text}
   </msg>
  </mx:request>
 </mx:operation>
 </mx:WebService>
 <mx:Button click="WS.getOperation('sendSMSToMany').send()" x="366" y="220"
label="Send SMS"/>
 <mx:TextArea x="201" y="141" height="70" width="251" id="sms"/>
 <mx:TextInput x="201" y="87" id="phn"/>
 <mx:Label x="22" y="89" text="Please Enter Mobile Number :" color="#FF0000"
fontWeight="bold"/>
 <mx:Label x="66" y="142" text="Type your SMS Here : " fontWeight="bold"
color="#FF0000"/>

</mx:Application>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to