I'm trying to apply the following code to fix a known problem with using wmode and Firefox. There is a fix that is described here:
http://mrsteel.wordpress.com/2009/06...e-and-firefox/
I've tried applying the following code to my page using the plugin system in vBulletin, but got a 'T_string' error at the top of the page. Can someone please tell me if this is the right way to do it?
PHP Code:
addEventListener(Event.ENTER_FRAME, _listenLoading);// on enter frame to check if it?s loaded
private function _listenLoading(e:Event):void {
if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal) {
removeEventListener(Event.ENTER_FRAME, _listenLoading);
_onSiteLoaded();
}
}