Kevin Newman skriver:
On 6/30/11 4:40 PM, Eric E. Dolecki wrote:
document.getElementById("divName").style.height =<valPassedByFlash>
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to