Hi Suresh,

Create the mxml of B as "MXML Application" and mxml of A as "MXML
Component". And create Application B like this:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
xmlns:local="*">
    <mx:states>
        <mx:State name="stateA">
            <mx:AddChild>
                <local:A/>
            </mx:AddChild>
        </mx:State>
    </mx:states>
</mx:Application>


Regards,
Venkat
www.venkatv.com


On Fri, Jan 30, 2009 at 11:23 AM, Suresh G <[email protected]> wrote:

> Hi
>
> I am facing this problem long time, hope somebody here can enlighten me or
> help me.
>
> I have created an application and have many viewstacks and images and
> containers in it.
>
> I created one more applciation B which has 2 states and i wanted to copy
> the application A viewstacks in 2nd state of the B.
>
> But when i copy the souce code and paste it its not reflecting :-(
>
> Then one more help is how to call one of the mxml file inside main
> application mxml for a state ?
>
> Please help me
>
> >
>

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