hi everybody!
i’m using transitions between external swf files (from kirupa tutorials: http://www.kirupa.com/developer/mx2004/transitions.htm) and i’d like to add my preloader to these swf files… i have been triying to do it, but i can’t
can someone help me, please?
my preloader code:
first frame: “loop”
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
loaded = int(byteloaded/bytetotal*100);
load_bar.gotoAndStop(loaded);
second frame:
if (byteloaded == bytetotal) {
gotoAndPlay(“end”);
} else {
gotoAndPlay(“loop”);
}
third frame: “end”
gotoAndPlay(“go”);
load_bar is a mc with an animation of 100 frames, and i added to it a code:
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
}
onClipEvent (unload) {
Mouse.show();
}
once the swf is loaded, it has to show the default mouse cursor again…
well, that’s all…
i’m gonna appreciate your help
thanx in advance
cheers!
(sorry, i know my english isn’t good)