swfobject is only used at embed time. if it's already embedded, you'd just
do your standard CSS/DOM manipulation via JavaScript. if you've done the
embedding dynamically, use something like

document.getElementById("swfID").style.height = 9999px;

OR

document.getElementById("swfID").className = "tall";

where the class is defined in your CSS as:

.tall {
   height: 9999px;
}

if you used swfobject's static embed approach, use the same logic but use
swfobject.getObjectById instead of document.getElementById:

swfobject.getObjectById("swfID").style.height = 9999px;

- philip


On Fri, Feb 6, 2009 at 3:38 AM, martz <[email protected]> wrote:

>
> Hi Guys,
>
> Is it possible to update the height of the embedded swf on the fly?
>
> For example, my flash content will be changing height and i want to
> activate the browser scrollbars if it becomes too long for the screen.
> If i fix a large height i get the desired result but i could do with
> controlling this from within my flash.
>
> I can sort the external interface etc, but is there anything i can
> target within the swfobject to update it?
>
> Cheers
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to