Thanks Philip.
The scripted solution was the trick:
function resizeFlashDiv()
{
var theDiv = document.getElementById("navContainer");
var theHeight = Math.floor(theDiv.offsetWidth * .33625) + 50; // add
the variable portion plus the fixed portion of the Flash
theDiv.style.height = theHeight + "px";
}
Just took me a while to figure out that I needed to get offsetWidth.
Thanks for the steer in the right direction!
- Bob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---