Hi Guys, I finally figured I'd ask here, I have practically given up
LOL. Is there any way to populate the Flex 2 Tree control with
HTTPService, reading an XML file, live, so any changes you make to the
XML file can take place in the Flash Player without having to
recompile the component, module, or app?

For perfect example, how would I take even just the Adobe example, and
turn it into an XML file that the Tree can load as a data source?

 <mx:XMLList id="treeData">
        <node label="Mail Box">
            <node label="Inbox">
                <node label="Marketing"/>
                <node label="Product Management"/>
                <node label="Personal"/>
            </node>
            <node label="Outbox">
                <node label="Professional"/>
                <node label="Personal"/>
            </node>
            <node label="Spam"/>
            <node label="Sent"/>
        </node>    
    </mx:XMLList>


I know there's a lot of jumping around with XMLListCollection, XMLList
and other various things, I have plugged away till the cows come home,
but nothing works...and I've not come across a single example of a
tree populated by HTTPService using XML...only a very complex example
with a db, from Bruce Phillips
(http://www.brucephillips.name/blog/index.cfm/2007/1/1/How-To-Use-An-ArrayCollection-As-The-Data-Provider--For-The-Flex-2-Tree-Control)


I am trying to generate what would be exactly the same kind of output
as Adobe's example above...multiple nodes, with any number within, so
I can use it as navigation for my photo gallery site.

Any suggestions?

Thanks kindly for any help:)

shawn

Reply via email to