If I understand you correctly you are wanting something like this:

You have a map.mxml file and a main.mxml file if the map file is in
the views folder set the <mx:application> tag up like this:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
        layout="absolute"
        xmlns:m="views.*">

//place this where you want your map.mxml to be //
<m:map id="map" width="?" height="?" />

and there you go,  You can set the properties width, height, x=, y= etc.

Hope this helps,

Bobby



--- In [email protected], Gustavo Duenas <[EMAIL PROTECTED]> wrote:
>
> I have a mxml file which is not my main app(mxml) the file reads a  
> yahoo map,
> so instead of creating other stage in the main application, could I  
> read that file in my main mxml application?
> 
> regards,
> 
> Gustavo
> 
> 
> On Apr 22, 2008, at 1:02 PM, Tracy Spratt wrote:
> 
> >
> > I do not understand.  What do you mean by “read an mxml  
> > application”?
> >
> > Tracy
> >
> >
> >
> > From: [email protected]  
> > [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas
> > Sent: Tuesday, April 22, 2008 11:59 AM
> > To: [email protected]
> > Subject: [flexcoders] pretty newbie question
> >
> >
> >
> > Anyone knows where could I find a tutorial about how can I read an  
> > mxml application inside my main application in flex?
> >
> >
> >
> >
> >
> > Regards,
> >
> >
> >
> >
> >
> > Gustavo D.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 
> 
> 
> 
> Gustavo A. Duenas
> Creative Director
> LEFT AND RIGHT SOLUTIONS
> 904.  265 0330 - 904. 386 7958
> www.leftandrightsolutions.com
> Jacksonville - Florida
>


Reply via email to