哪位高手帮忙看一下这段Flex代码错在哪里
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" fontSize="12">
<mx:Script>
<![CDATA[
public var selectedNode:XML;
//当点选了tree组件中的不同节点时
public function treeChanged(event:Event):void{
//event.target代表tree组件,而tree组件的selectedItem代表了当前选中节点的XML数据
selectedNode=Tree(event.target).selectedItem as XML;
//输出选中节点的label属性值
res_txt.text=""+selectedNode.@label
}
]]>
</mx:Script>
<mx:XMLList id="files">
<folder label="C:">
<folder label="My Document">
<folder label="Adobe"/>
</folder>
<folder label="Windows">
<folder label="soft"/>
<folder label="workSpaces"/>
</folder>
<folder label="Drivers"/>
<folder label="linux driver"/>
</folder>
</mx:XMLList>
//提示我这行有错
<mx:Tree id="myTree" width="119" height="265" labelField="@label" showRoot="true" dataDescript
相关问答:
我是个java 菜鸟 但是对java 很感兴趣 想做个类似通讯qq方面的即时通讯软件 但是缺乏这方面的资料 !!希望哪位高手能给我点资料 最好是全一点的 让我继续走下去 !! 衷心感谢 !!! 邮箱 rz_string@126.com ......
要求开发软件: Flex builder 3.
要求:做一个中国菜外买店订餐的网站。
流程:外观不需要做的很好看,很普通就行。
顾客打开网站,网站显示菜单和价格,选择了要点的菜,点菜的结果 ......
自定义组件在component目录下。自定义组件代码如下:
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="verti ......
在creationComplete()方法中给两个dataGrid注册鼠标电击事件:
JScript code:
this.innerUsers.addEventListener(MouseEvent.CLICK,detectInnerIsChatting);
Alert.show("A");
......
如题
个人认为,如果对WEB开发有一定基础,对脚本语言有一定认识,学习曲线不会很大。
引用
个人认为,如果对WEB开发有一定基础,对脚本语言有一定认识,学习曲线不会很大。
谢谢,请问你认为客户端语言 ......