>From one of mine ...
private var xmlConfigService:HTTPService = new HTTPService();
xmlConfigService.useProxy=false;
xmlConfigService.url="http://" + Constants.serverIP +
"/cgi-bin/TradeImporterRefactoring/XmlConfigService.py?ACTION=GET";
xmlConfigService.resultFormat="e4x";
xmlConfigService.addEventListener(ResultEvent.RESULT,function(event:ResultEvent):void
{config=new HierarchicalData(XML(event.result))});
xmlConfigService.addEventListener(FaultEvent.FAULT
,failedHttpServiceCall);
On 10/16/07, donvoltz <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Would someone show me how to send an HTTPService using actionscript.
> For example, how would I do the following without using tags?
>
> <mx:HTTPService url="{myURL}" id="HTTPdata" method="POST"
> resultFormat="e4x">
> <mx:request>
> <mode>{mode}</mode>
> <mode2>{mode2}</mode2>
> <catid>{catid}</catid>
> </mx:request>
> </mx:HTTPService>
>
> Thanks in advance for the help
>
> Don
>
>
>