If the second mxml file is child of first mxml file then you can
access parent component by using parentDocument.

Suppose if second mxml file is custom component then it is not good
approach.

The best way is  ---> use Costom Events in Flex.


On Apr 17, 4:40 am, Ravi Mishra <[email protected]> wrote:
> By dispatching events you can pass information between files. Just
> dispatch a custom event from one view and listen it in other view.
>
> For more information look for Event Propagation in flex livedocs.
>
> HTH,
>
> -Ravi
>
> On Apr 17, 1:17 pm, jeroen <[email protected]> wrote:
>
> > If I have 2 mxml pages...how do i enable a button that is residing on
> > one page activating it from another page?

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