Flex中如何利用HTTPService的send()将参数传递给HTTPService的例子

接下来的例子演示了Flex中如何利用HTTPService的send(),将参数传递给HTTPService。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

下面是完整代码(或点击这里察看):




flashvars
http://www.flash-mx.com/mm/greeting.cfm
lbl.text = httpServ.lastResult.welcomeMessage;
Alert.show(event.toString(), event.type);









代码:Peter deHaan 翻译/整理/编译:中文Flex例子

1 thought on “Flex中如何利用HTTPService的send()将参数传递给HTTPService的例子”

Leave a Reply

Your email address will not be published. Required fields are marked *