N3m31s
03-01-2007, 09:27 AM
Hi everyone......I have a little problem with my PRELOAD. So....this is alittle PRELOAD....PASTED on first frame of my (script) Layer.
onEnterFrame = function() {
var percentLoaded:Number = Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);
if (percentLoaded == 100) {
// clean up:
delete(onEnterFrame);
// jump over our asset frame, and
// straight to our content frame:
gotoAndPlay(3);
} else {
gotoAndPlay(1);
percent= percentLoaded+"%";
setProperty("pBar",_xscale,percentLoaded)
}
}
stop();
Well.......this script FUNCTION 100% with my other SWF, but in THIS my last SWF no. ....So....The preload Function....but when EXPLORER LOAD the movie...the page was BLANK and at 80% of byte loaded..APPEAR my preload number and continue at 100% and after APPEAR my site on FRAME 3. I think..that also for my last movie THIS preload function...but APPEAR at80%. WHY? My site have only a 1 Images and 1 FLV PLAYBACK. Why not APPEAR on 1% and more? Thankyou!! ALL!!
:eek: N3m3s1s
onEnterFrame = function() {
var percentLoaded:Number = Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);
if (percentLoaded == 100) {
// clean up:
delete(onEnterFrame);
// jump over our asset frame, and
// straight to our content frame:
gotoAndPlay(3);
} else {
gotoAndPlay(1);
percent= percentLoaded+"%";
setProperty("pBar",_xscale,percentLoaded)
}
}
stop();
Well.......this script FUNCTION 100% with my other SWF, but in THIS my last SWF no. ....So....The preload Function....but when EXPLORER LOAD the movie...the page was BLANK and at 80% of byte loaded..APPEAR my preload number and continue at 100% and after APPEAR my site on FRAME 3. I think..that also for my last movie THIS preload function...but APPEAR at80%. WHY? My site have only a 1 Images and 1 FLV PLAYBACK. Why not APPEAR on 1% and more? Thankyou!! ALL!!
:eek: N3m3s1s