ok but to reach this from as3?

thanks

Lorenzo


--- In [email protected], "Kenneth Sutherland"
<kenneth.sutherl...@...> wrote:
>
> Presuming you've given your custom viewstack an ID inside the custom
> panel you'd call that then get the selectedChild or getChildAt for that
> viewstack.
> 
> <CustomPanel>
> 
>           <CustomViewStack id='myStack' >
> 
>                    <Panel id='panel1' />
> 
>                    <Panel id='panel2' />
> 
>           </CustomViewStack>
> 
> </CustomPanel>
> 
>  
> 
> So to get panel1 you could do the following
> 
>           myStack.getChildAt(0);
> 
>  
> 
> There are other ways such as getChildren() or getChildByName(). Just
> check out the API docs on viewstack.
> 
> Kenneth
> 
>  
> 
>  
> 
> From: [email protected] [mailto:[email protected]] On
> Behalf Of lorenzo.boaro
> Sent: 18 December 2008 09:14
> To: [email protected]
> Subject: [flexcoders] Get Children function
> 
>  
> 
> Hi, 
> 
> i've this problem...
> 
> i created a class that extends a Panel, named CustomPanel.
> 
> CustomPanel contains a CustomViewStack (that extends ViewStack)
> 
> and CustomViewStack contains 2 differents panel.
> 
> i would retrieve CustomViewStack children from CustomPanel.
> 
> How can i reach this?
> 
> thanks a lot 
> 
> Ragards
> 
> Lorenzo
> 
>  
> 
> Disclaimer 
>
-------------------------------------------------------------------------------------------
> This electronic message contains information which may be privileged
and confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use
of the contents of this information is prohibited. If you have
received this electronic message in error, please notify us by
telephone on 0131 476 6000 and delete the material from your computer. 
> Registered in Scotland number: SC 172507. 
> Registered office address: Quay House 142 Commercial Street
Edinburgh EH6 6LB. 
> 
> This email message has been scanned for viruses by Mimecast.
>
-------------------------------------------------------------------------------------------
>


Reply via email to