Hi All,
Though i managed with some alternates for my problem, but was interested to
know if there are some direct methods for doing so.

I have an XML, structured as -

<node name="N">
    <node name="N1">
        <node name="N1-a">
            <node name="N1-a-1"/>
        </node>
    </node>
</node>

Is there any direct methods available in the API, with which i can get
immediate parent/child? For, e.g. - If user clicks on a tree kind of
component (not exactly a Flex Tree component), on the node "N1", then i want
to get immediate parent (N) and immediate child (N1-a). If i use XMLs
parent()/children() methods, i get the complete children() under/above the
node "N1", but i want to have just immediate child/parent.

Though i managed the solution, but it did not involved any direct methods
from the API, Has anybody gone through similar problems?

Thanks,
Gaurav

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to