Hi all,

Just a small question, I've been playing around with - is it possible to set the result of a method dynamically?  Depending on whose calling the method?  I'd like to use one method to populate two different datagrids. 

i.e.

private function CurrentUsers():void {
    //Current Users
    MemberTypeId = 0;
    Group = 2;
    HistoricalMembership = false;
    GroupWS.GetMembers.send();

  //set result method here..??
   }
   

<mx:WebService id="GroupWS"
   wsdl="http://localhost/Group.asmx?WSDL"
    useProxy="false"
   showBusyCursor="true"
   fault="Alert.show(event.toString())">
   
  <mx:operation name="GetMembers" result="<can this be set dynamically?>">
   <mx:request>
    <MembershipTypeID>{GroupMemberTypeId}</MemberTypeID>
    <HistoricalMembership>{HistoricalMembership}</HistoricalMembership>
    <Group>{Group}</Group>
   </mx:request>
  </mx:operation>
  
 </mx:WebService>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to