开发者

Flash AS1/AS2 : quick + dirty SOAP msg send with minimum overheads?

开发者 https://www.devze.com 2022-12-20 13:53 出处:网络
Is there a way to send a simple SOAP message to a开发者_Go百科 web service on another domain, while not caring about the response (this is simply a small data push) in an old flash app?

Is there a way to send a simple SOAP message to a开发者_Go百科 web service on another domain, while not caring about the response (this is simply a small data push) in an old flash app?

Many thanks in advance...


Quickest thing I can think of:

  1. Drag the WebService Connector component from the Components Panel to the Stage.

  2. Give it an instance name and set the operation in the Components Inspector.

  3. Trigger it via Actionscript:

    yourWebServiceConnector.trigger();

That should be it.

A more comprehensive guide on as2 data components is available here.

HTH, Georrge

0

精彩评论

暂无评论...
验证码 换一张
取 消