you can either add a public method to your custom control which
exposes the button or, better still, performs whatever task you want
to perform or you can probably get at the button via something like
myCustomControl["BtnID"]

The first way is more object oriented than the second, but unless your
custom control is a popup dialog I would be wondering whether your
component architecture is right.  Needing access to the insides of one
control from another will almost certainly make your code resemble
spaghetti.

--- In flexcoders@yahoogroups.com, "NileAge, Mail" <[EMAIL PROTECTED]> wrote:
>
> Hi all
> 
> How can I call a control inside a custom component from another
component
> 
> Ex:
> 
> If I have a button control with ID "BtnID" inside a certain
component How
> can I call this id from another component
>


Reply via email to