I'm using the code at the bottom of this post.
Using the Simulate Download and the Bandwidth profiler, I have two
different files where it's basically downloading about 15% of the file
and then continuing playing.
The preloader starts to work correctly, but basically quits out
incorrectly
@chattyfig.figleaf.com
Subject: [Flashcoders] preloader not completely preloading...
I'm using the code at the bottom of this post.
Using the Simulate Download and the Bandwidth profiler, I have two different
files where it's basically downloading about 15% of the file and then
continuing playing
stop();
function checkLoad()
{
var c = mc.getBytesLoaded();
var t = mc.getBytesTotal();
var p = (c / t) * 100;
MC_LoaderBar._xscale = p;
TXT_Load.text = Math.floor(p + %);
if (p == 100 t 4) {
delete this.onEnterFrame;
mc.gotoAndPlay(main);
}
}
this.onEnterFrame =
Thanks everyone!
On 12/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
stop();
function checkLoad()
{
var c = mc.getBytesLoaded();
var t = mc.getBytesTotal();
var p = (c / t) * 100;
MC_LoaderBar._xscale = p;
TXT_Load.text = Math.floor(p + %);
if (p == 100 t 4) {
4 matches
Mail list logo