/*
This snippet is by Mels le Noble
www.melslenoble.nl
It will hide the browser scrollbars.
*/
// see if we are testing locally
if (stage.loaderInfo.url.split("/")[2])
{
ExternalInterface.call("function(){document.body.style.overflow='hidden';document.html.style.overflow = 'hidden';}");
}
This snippet by Mels le Noble will hide the browser scrollbars. The bulk of the snippet is the javascript inside the ExternalInterface.call() method. I like the trick that Mels uses to check if the swf is local…. snippet-worthy in itself.