barbudo
09-26-2006, 03:10 PM
hi, i have problems preloading a movie which contains a video embedded. i use flash 8, i import the the video to be a part of the movie (embedded), i set up the codecs for flash 8. but my old preloader does not work at all.
this is the preloader
onClipEvent (load) {
BL = 0;
BT = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
if (BL<BT) {
BL = _root.getBytesLoaded();
PL = Math.round(100*BL/BT);
_root.pre.BL_T = BT;
_root.pre.BL_L = BL;
_root.pre.BL_P = PL;
if (BL<BT) {
_root.Pre.LB.LoadedBar._xscale = PL;
} else {
_root.Pre.LB.LoadedBar._xscale = 100;
_root.Pre.gotoAndPlay(2);
}
}
}
can anyone help me to find some preloader which works fine with video embedded files in the movie?
thank you.
this is the preloader
onClipEvent (load) {
BL = 0;
BT = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
if (BL<BT) {
BL = _root.getBytesLoaded();
PL = Math.round(100*BL/BT);
_root.pre.BL_T = BT;
_root.pre.BL_L = BL;
_root.pre.BL_P = PL;
if (BL<BT) {
_root.Pre.LB.LoadedBar._xscale = PL;
} else {
_root.Pre.LB.LoadedBar._xscale = 100;
_root.Pre.gotoAndPlay(2);
}
}
}
can anyone help me to find some preloader which works fine with video embedded files in the movie?
thank you.