Dear Dillu,

VBox is not created you have accessing time.

So please check the VBox is created or Not?

I have suggest, you don't use Application.application

If you have remove one Component this is very dangerous. So try to
write Custom Event access to the component.

Thanks with Regards,
Manikandan M S
Exuvis



On Nov 6, 5:16 pm, dilu <[email protected]> wrote:
> Hi ,
> I want to access one mxml componet id to another mxml component .
> I have one mxml component(ABCD) where there is a Vbox whose id is
> vbox1.
> I want to access this vbox1 to another mxml component (DEFG).
> To access this I am doing something like this:
> 1.On the main mxml application I have declared one variable :-
> public var abcd:ABCD=new ABCD();
> 2.On the DEFG mxml component I am trying to access vbox1 like this:
> Application.application.abcd.vbox1.
> But its throwing error "Cannot access a property or method of a null
> object reference."
> Do any of you is having any idea how to deal with this ?
> Regards
> Dileep

--~--~---------~--~----~------------~-------~--~----~
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