Its some what hard to explain, so I made a screen capture video of it.
You can view it here:
http://www.renaun.com/flex1_5/FlexLoaderAppResize.html

Here is a link to the sample code that I am messing with:
http://www.renaun.com/rsl_example.zip

App2 in the sample code is the one I have been messing with a lot.  It
works alright, but if you load the Flex app while the browser is at
about 300 width 300 height and then start to resize the application it
goes weird at a certain width and height.

Renaun


--- In [email protected], "Joan Tan" <[EMAIL PROTECTED]> wrote:
>
> Yes, setting width="100%" in Flex 1.5 should work. Its equivalent to
> setting percentWidth in Flex 2.0.
>

>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Renaun Erickson
> Sent: Tuesday, May 23, 2006 11:35 AM
> To: [email protected]
> Subject: [flexcoders] Re: Using Loader to load multiple <mx:Application>
> SWF (Flex 1.5)
>

>
> Yes the RSL can keep the files sizes down, do you put all the Flex
> classes in the RSL too?
>
> As for SWFloader, I am actually asking about Flex 1.5 and mx:Loader.
> But the livedocs says Loader as the percentWidth/Height.  I'll give it
> a try, I guess my question would be, doesn't width="100%" set the
> percentWidth?
>
> Thanks for the response, more to test.
>
> Renaun
>
> --- In [email protected], "Anatole Tartakovsky"
> <anatolet@> wrote:
> >
> > Renaun,
> >     You can avoid doubles in SWF size if you use RSLs and mark them
> external for loadable modules. We have developed "flexlets" that were
> under 20K.
> >     As far as screen sizing we had to do this:
> >   <mx:SWFLoader  width="100%" height="100%"  trustContent="true"
> id="loader" autoLoad="true"
> init="loader.percentWidth=99;loader.percentWidth=100"/>
> > did not have problems with height. Not pretty, but I am postoning
> looking into SWFLoader till final release as it has been moving target
> in the past.
> >
> > HTH,
> > Anatole
> >
> >
> >   ----- Original Message -----
> >   From: Renaun Erickson
> >   To: [email protected]
> >   Sent: Tuesday, May 23, 2006 1:51 PM
> >   Subject: [flexcoders] Using Loader to load multiple
> <mx:Application> SWF (Flex 1.5)
> >
> >
> >   I have read and re-read all the posts on breaking up a big
> application
> >   into smaller chunks either using the Loader method or createChild.
> >
> >   createChild works well to delay creation of objects but the actually
> >   SWF size is not smaller as the classes are compiled into the
> >   application.  The Loader loads stuff on runtime but you get longer
> >   load times because of overlapping of common classes (each loaded SWF
> >   is a Flex app with the main component being the Application class).
> >
> >   My question I have is in regards to the Loader and loading other
> >   <mx:Application> flex SWFs.  When I try to do this, I can not get
> the
> >   loader swf's to stay dyanmic 100% widht and height.  I want the
> loaded
> >   application SWF to fill up the container it was loaded in.
> >
> >   It has to do with something when it reaches 500 width and 375
> height,
> >   some defaults in the Application class.  I found some methods of
> >   hacking the width and height to work somewhat reasonably, but in the
> >   end it doesn't seem right.
> >
> >   I know the Flex Exampler Explorer is a good example of loading
> >   different Application SWF into a container but none of them do 100%
> >   width/height.
> >
> >   First, do people really use Loader to load multiple Flex
> >   mini-applications? 
> >
> >   and if so how do you address the 100% width/height issue?
> >
> >
> >
> >
> >
> >
> >
> >   --
> >   Flexcoders Mailing List
> >   FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >   Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >   SPONSORED LINKS Web site design development  Computer software
> development  Software design and development 
> >         Macromedia flex  Software development best practice 
> >
> >
> >
> ------------------------------------------------------------------------
> ------
> >   YAHOO! GROUPS LINKS
> >
> >     a..  Visit your group "flexcoders" on the web.
> >      
> >     b..  To unsubscribe from this group, send an email to:
> >      [EMAIL PROTECTED]
> >      
> >     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
> >
> >
> >
> ------------------------------------------------------------------------
> ------
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> SPONSORED LINKS
>
> Web site design development
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> site+design+development&w2=Computer+software+development&w3=Software+des
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> 
>
> Computer software development
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> b+site+design+development&w2=Computer+software+development&w3=Software+d
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> 
>
> Software design and development
> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
> Web+site+design+development&w2=Computer+software+development&w3=Software
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> 
>
> Macromedia flex
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> development&w2=Computer+software+development&w3=Software+design+and+deve
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw> 
>
> Software development best practice
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&
> w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> 
>

>

>
> ________________________________
>
> YAHOO! GROUPS LINKS
>

>
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>        
> *      To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>        
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>

>
> ________________________________
>






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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to