Re: [Flashcoders] scrolling webpage with flash
On Tue, Jul 12, 2011 at 3:05 AM, Cor wrote: > Thank you! Ditto! I have always used ExternalInterface and jQuery for my JS/Flash projects... I am totally looking forward to trying BrowserCanvas! I am especially interested in how they packaged their JS with their Flash apps... That technique could come in very handy for future projects. Thanks for the good thread! Cheers, Micky ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] scrolling webpage with flash
I have now. :-) Thank you! Best regards, Cor -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Amanda Kuek Sent: dinsdag 12 juli 2011 3:59 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash Hi Cor, Have you seen BrowserCanvas? http://www.dncompute.com/blog/2008/06/23/browsercanvas-the-worlds-easiest-wa y-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 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: [email protected] [mailto: > [email protected]] 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 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: [email protected] > > [mailto:[email protected]] 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 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: [email protected] > >> [mailto:[email protected]] 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 > >> [email protected] > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> ___ > >> Flashcoders mailing list > >> [email protected] > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > ___ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
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 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: [email protected] [mailto: > [email protected]] 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 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: [email protected] > > [mailto:[email protected]] 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 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: [email protected] > >> [mailto:[email protected]] 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 > >> [email protected] > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> ___ > >> Flashcoders mailing list > >> [email protected] > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > ___ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
I sure hope they don't nerf it. :-)
Kevin N.
On 6/30/11 5:32 PM, Henrik Andersson wrote:
Kevin Newman skriver:
On 6/30/11 4:40 PM, Eric E. Dolecki wrote:
document.getElementById("divName").style.height =
You can even do that completely from within flash:
function onResizeHandler(event:Event):void {
if (ExternalInterface.available)
ExternalInterface.call("function(){document.getElementById('divID').style.height
= '" + stage.stageHeight + "px';}");
}
stage.addEventListener(Event.RESIZE, onResizeHandler); // I think
Of course, that may or may not get nerfed in the future, since it
wasn't supposed to be a full fledged javascript eval style function.
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
Kevin Newman skriver:
On 6/30/11 4:40 PM, Eric E. Dolecki wrote:
document.getElementById("divName").style.height =
You can even do that completely from within flash:
function onResizeHandler(event:Event):void {
if (ExternalInterface.available)
ExternalInterface.call("function(){document.getElementById('divID').style.height
= '" + stage.stageHeight + "px';}");
}
stage.addEventListener(Event.RESIZE, onResizeHandler); // I think
Of course, that may or may not get nerfed in the future, since it wasn't
supposed to be a full fledged javascript eval style function.
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
On 6/30/11 4:40 PM, Eric E. Dolecki wrote:
document.getElementById("divName").style.height =
You can even do that completely from within flash:
function onResizeHandler(event:Event):void {
if (ExternalInterface.available)
ExternalInterface.call("function(){document.getElementById('divID').style.height
= '" + stage.stageHeight + "px';}");
}
stage.addEventListener(Event.RESIZE, onResizeHandler); // I think
That requires you have your div setup as the container of your flash
content, the flash content set with height="100%, allowScriptAccess set
to a value that allows flash to call JavaScript (like "samedomain" or
"always"), and your scalemode set in a way that will no scale your
content in appropriately ("noscale" is the easiest option to work with
here).
>...
Kevin N.
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
Yeah, it can be used for that, I think in combination with some JS/externalInterface. I did it a while ago, can't remember the exact code, I'll try and dig it up later. But I was able to do exactly what you're looking for, using SWFFit. On http://interviewproject.davidlynch.com, if you click around in the different sections, the flash embed gets longer or shorter depending on the section and the browser scrollbar is triggered or hidden depending on whether it's needed. .m On Thu, Jun 30, 2011 at 3:32 PM, Cor 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: [email protected] > [mailto:[email protected]] 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 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: [email protected] >> [mailto:[email protected]] 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 >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
document.getElementById("divName").style.height =
Google Voice: (508) 656-0622
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki
http://blog.ericd.net
On Thu, Jun 30, 2011 at 4:36 PM, Cor 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: [email protected]
> [mailto:[email protected]] 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 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: [email protected]
>> [mailto:[email protected]] 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 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: [email protected]
>>> [mailto:[email protected]] 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
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> ___
>>> Flashcoders mailing list
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>> ___
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> ___
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> ___
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> ___
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] scrolling webpage with flash
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: [email protected] [mailto:[email protected]] 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 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: [email protected] > [mailto:[email protected]] 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 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: [email protected] >> [mailto:[email protected]] 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 >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] scrolling webpage with flash
Thanks Kevin! I understand what you are saying, but I have no ideas how to do this. Can you be more specific or perhaps some example? Best regards, Cor -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Kevin Newman Sent: donderdag 30 juni 2011 22:27 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash It sounds like you would need to use ExternalInterface and JavaScript to resize your HTML container for the swf. I'd suggest wrapping the swf container (whatever embedding solution you are using) in a div, setting your swf container (object/embed tag, swfobject, or whatever) to 100%, and setting the height of parent div when the content size changes from within the swf, using ExternalInterface. There is no way to set the size of the stage from within Flash. Kevin N. On 6/30/11 3:32 PM, Cor 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: [email protected] > [mailto:[email protected]] 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 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: [email protected] >> [mailto:[email protected]] 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 >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 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: [email protected] > [mailto:[email protected]] 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 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: [email protected] >> [mailto:[email protected]] 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 >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
It sounds like you would need to use ExternalInterface and JavaScript to resize your HTML container for the swf. I'd suggest wrapping the swf container (whatever embedding solution you are using) in a div, setting your swf container (object/embed tag, swfobject, or whatever) to 100%, and setting the height of parent div when the content size changes from within the swf, using ExternalInterface. There is no way to set the size of the stage from within Flash. Kevin N. On 6/30/11 3:32 PM, Cor 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: [email protected] [mailto:[email protected]] 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 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: [email protected] [mailto:[email protected]] 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 [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] scrolling webpage with flash
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: [email protected] [mailto:[email protected]] 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 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: [email protected] > [mailto:[email protected]] 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 > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 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: [email protected] > [mailto:[email protected]] 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 > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] scrolling webpage with flash
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: [email protected] [mailto:[email protected]] 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 [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] scrolling webpage with flash
Thanks Hendrik. By embedding code, you mean in Publish setting?? Best regards, Cor -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Henrik Andersson Sent: donderdag 30 juni 2011 17:06 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash Set the embeding code to use a dynamic size, such as 100 %. Then use the Stage.stageWidth and Stage.stageHeight properties to do your layout. ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
Set the embeding code to use a dynamic size, such as 100 %. Then use the Stage.stageWidth and Stage.stageHeight properties to do your layout. ___ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

