I have a method in CustomPanel.mxml and I need to use id which is
available in Main.mxml
Below is my sample code
Main.mxml
----------
<local:CustomDivideBox id="div1">
Custompanel.mxml
------------------
private function xxxx(){
div1.state = (div1.state == CustomDividedBox.COLLAPSE ?
CustomDividedBox.EXPAND : CustomDividedBox.COLLAPSE);
}
Please provide some sample code.
Thanks,
Naveen.
--
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.