jintiantiande 2010-05-15 12:37
浏览 222
已采纳

flex HTTPService

[code="java"]<?xml version="1.0" encoding="utf-8"?>

mx:Script
<![CDATA[
public function SubmitLogin():void{
login.send();
}
]]>
/mx:Script
url="http://localhost:8080/javaVoteSystem/index.jsp"
useProxy="false">
mx:request
{Math.random()}
{this.username.text}
{this.password.text}
/mx:request
/mx:HTTPService

<mx:Canvas x="154" y="33" width="271" height="246">
    <mx:TextInput id="username" x="10" y="35"/>
    <mx:TextInput id="password" x="10" y="98"/>
    <mx:Button x="168" y="192" label="Button" click="SubmitLogin();"/>
</mx:Canvas>

/mx:Application[/code]

Element type "mx:HTTPService" must be followed by either attribute specifications, ">" or "/>". 这个是怎么回事啊?
我的QQ117064092还有些别的问题 哪位大牛能加下我 给我解答下 万分感谢了

  • 写回答

2条回答 默认 最新

  • ajwang 2010-05-15 15:43
    关注

    另外,请你result="loginResult();"id="login" 空格result="loginResult();" id="login"

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突