Saturday, March 27, 2010

Calling another MXML file from One MXML...

HI All,

I want to call ''datagrid'' mxml file which i designed using
desginer in Flex 2 builder. That Mxml file has Panel as a container
%26amp; Datagrid control .



I also created ''main'' Mxml file which contains panel as
container %26amp; the button as its children.



My intension is to call ''datagrid'' mxml screen when i press
button on the ''main'' mxml file. I have written Eventhandler () in
the

''main'' mxml file which would be called when i press button.



what command or code should i write in the ''main'' mxml file
to display ''datagrid'' mxml screen when i press button.

As well as when i close ''datagrid'' mxml screen,it should
display ''main'' mxml screen



thanks in advance



No comments:

Post a Comment