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
Software development tool | Software development | Software development services |
Home design software | Software development company |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___