forked from: Tree Controll Sample01
♥0 |
Line 22 |
Modified 2011-05-02 06:12:07 |
MIT License
archived:2017-03-20 02:28:46
ActionScript3 source code
/**
* Copyright e_2o ( http://wonderfl.net/user/e_2o )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/nE4j
*/
<?xml version="1.0" encoding="utf-8"?>
<!-- forked from Samples's Tree Controll Sample01 -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initializeHandler(event)">
<mx:Script>
<![CDATA[
import mx.events.FlexEvent;
public function initializeHandler(event:FlexEvent):void{
}
]]>
</mx:Script>
<mx:XML format="e4x" id="treeData">
<root>
<node label="Item01">
<node label="Item01-01" />
<node label="Item01-02" />
</node>
<node label="http://www.yahoo.co.jp">
</node>
</root>
</mx:XML>
<mx:Tree id="tree" showRoot="false" dataProvider="{treeData}" labelField="@label" width="100%" height="100%"></mx:Tree>
</mx:Application>