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: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] 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: 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

Reply via email to