Hi Adi,

You can also follow a simple architecture.

1. Keep one parent component. (ex parentCanvas)
2. Add Child component(childCanvas1) to the above parent component
(parentCanvas)
3. To show another canvas(childCanvas2) first remove all the children
from parentCanvas using parentCanvas.removeAllChildren().
4. Add childCanvas2 to parentCanvas using parentCanvas.addChild
(childCanvas2)

Please let me know if you need more information on this.

Thanks

Pranam

On Jun 12, 2:15 pm, adi <sonadi...@gmail.com> wrote:
> How can I call one MXML from the other. as usually I want to move from
> one screen to other one.
>
> At the same time I do not want the old screen to be displayed behibd
> the shade...I want to replace complete screen screen...Is that
> possible ?
>
> Pop up manager gives me error saying
>
> "Error: C0001E: Only one ServiceLocator instance can be instantiated"
>
> Please suggest

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to