# Site not preloading in firefox

**URL:** <https://forum.kirupa.com/t/site-not-preloading-in-firefox/87113>\
**Category:** Uncategorized\
**Created:** [April 18, 2005, 4:55pm UTC](https://forum.kirupa.com/t/site-not-preloading-in-firefox/87113 "2005-04-18T16:55:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnymeerkat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/johnnymeerkat/32/1254_2.png) [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)\
**Post date:** [April 18, 2005, 4:55pm UTC](https://forum.kirupa.com/t/site-not-preloading-in-firefox/87113/1 "2005-04-18T16:55:56Z")

</div>

heyhey

i’ve only just discovered that the preloader doesn’t work in firefox for a site i’m working on, yet it works perfectly in ie and the flash authoring environment.

on the first frame of the movie i just have the preloader. here’s the actionscript:

```auto
 
onClipEvent (enterFrame) {
	loaded = _root.getBytesLoaded();
	total = _root.getBytesTotal();
	percent = (loaded / total) * 100;
	this._xscale = percent;
	_parent.loadtext.text = "LOADED " + parseInt(percent) + "%";
	_parent.loadtext._x = this._x + this._width;
	if (loaded == total) {
		_parent.gotoAndPlay(2);
	}
}

```

i’ve got nothing exported to the first frame in terms of linkage… the only thing i can think is that the ‘loadtext’ dynamic textfield has the characters ‘LOADED%’ plus numerals embedded into it, but i don’t see how this would cause a problem on firefox only.

just in case, here’s the actionscript for the first frame of the movie:

```auto
 
Stage.scaleMode = "noScale";
Stage.align = "TL";
sw = Stage.width;
tb._width = sw + 20;
tb._x = -10;
whiteleft._x = 0;
whiteright._x = sw;
reswarning._x = sw / 2;
this.onResize = function() {
	repositionStuff();
};
Stage.addListener(this);
_global.repositionStuff = function() {
	sw = Stage.width;
	reswarning._x = sw / 2;
	tb._width = sw + 20;
	tb._x = -10;
	whiteleft._x = 0;
	whiteright._x = sw;
};
resy = System.capabilities.screenResolutionY;
if (_parent.resy < 640) {
	resolutionwarning._visible = true;
} else {
	resolutionwarning._visible = false;
};

```

any help would be greatly appreciated 😃

p.s. i may not be able to reply to anything until tomorrow afternoon (gmt); due to moving house and having to get broadband reconnected, i have to travel 30 miles to use an internet connection and work at the same time 😑
