Custom Data Descriptor for Tree


hey experts,

 

i trying create custom data descriptor tree component in flex 3 doesn't seem work. have xml file structure shown below.

 

<course>      <block>           <title><![cdata[introduction]]></title>           <page source = "xml/block_1/p1.xml">                <title><![cdata[overview]]></title>           </page>           <page source = "xml/block_1/p2.xml">                <title><![cdata[features]]></title>           </page>           <block>                <title><![cdata[structures]]></title>                <page source = "xml/block_2/p1.xml">                     <title><![cdata[structure 1]]></title>                </page>           </block>           <block>                <title><![cdata[samples]]></title>                <page source = "xml/block_3/p1.xml">                     <title><![cdata[structures]]></title>                </page>           </block>      </block> </course> 

 

the block element contain title of block, pages , child blocks. structure allow n levels of nesting. create data descriptor class create tree menu title of block or page , source data page nodes. tried creating custom data descriptor class implementing itreedatadescriptor not work.

 

can me that?

copy defaultdatadescriptor , have getchildren block elements.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support