Hi Cor, Have you seen BrowserCanvas?
http://www.dncompute.com/blog/2008/06/23/browsercanvas-the-worlds-easiest-way-to-dynamically-resize-flash.html It sounds like exactly what you need and it works like a dream. Cheers, Amanda. On Fri, Jul 1, 2011 at 6:36 AM, Cor <c...@chello.nl> wrote: > Eric, > > Thank you! > That's exactly the problem. > I don't know how to do this in javascript, etc. > > Best regards, > Cor van Dooren > www.codobyte.com > ------------------------------------------------------------------ > "There are only 10 types of people in the world: > Those who understand binary and those who don’t." > > > -----Original Message----- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki > Sent: donderdag 30 juni 2011 22:32 > To: Flash Coders List > Subject: Re: [Flashcoders] scrolling webpage with flash > > I think I know what you want. Have your app calculate how high it needs to > be, then call out using javascript to a method which changes the dimensions > of a div, where your SWF embed is made at 100%. It can keep calling that > method. Just make sure your SWF has noScale, etc. > set within it. I've done this to generate charts that are a dynamic height > based on data to represent... the page will expand to accommodate the div so > your SWF never gets clipped. > > > Google Voice: (508) 656-0622 > Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki > http://blog.ericd.net > > > > On Thu, Jun 30, 2011 at 3:32 PM, Cor <c...@chello.nl> wrote: > > Thanks Matt, > > > > Swffit works fine... when resizing the browser, but my issue is that > > the browser is never resized, but the content in the swf grows > dynamically. > > So I would like to get my swf-dimensions variable. > > > > Best regards, > > Cor > > > > -----Original Message----- > > From: flashcoders-boun...@chattyfig.figleaf.com > > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. > > Sent: donderdag 30 juni 2011 17:50 > > To: Flash Coders List > > Subject: Re: [Flashcoders] scrolling webpage with flash > > > > then you should definitely check out SWFFIT, that can do what you're > > looking for. > > > > .m > > > > On Thu, Jun 30, 2011 at 11:38 AM, Cor <c...@chello.nl> wrote: > >> I need loaded content to be able to grow within my SWF to any height. > >> If this overshoots the html-height then the scrollbar of the browser > >> will show. > >> > >> > >> Best regards, > >> Cor > >> > >> -----Original Message----- > >> From: flashcoders-boun...@chattyfig.figleaf.com > >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. > >> Sent: donderdag 30 juni 2011 17:33 > >> To: Flash Coders List > >> Subject: Re: [Flashcoders] scrolling webpage with flash > >> > >> Not sure what you need exactly, but SWFFit is a nice little utility > >> for various flash resizing needs: http://swffit.millermedeiros.com/ > >> _______________________________________________ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> _______________________________________________ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders