Perhaps this link will help: 
http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-contr
ol/

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jupepsa
Sent: Tuesday, April 18, 2006 4:25 AM
To: [email protected]
Subject: [flexcoders] Loader control size

I use the loader control to load other flex app into the principal swf. 
I put the width and height to 100%. When the app that is loaded on the 
loader has a defined size (i.e 600x300), the loader take the size, but 
when the app has the width and height to 100% the loader control take a 
standard size (504x440) .

Anyone has a clue? 

<mx:Loader source="myapp.swf" id="ldr" height="100%" width="100%"/>

myapp.mxml

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
width="100%" height="100%" layout="vertical">
        <mx:Panel width="100%" height="100%" title="Modify Line" 
layout="horizontal" headerHeight="15">





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to