I’ve finished my photo gallery and everything’s working with one exception. When I test the movie and click on the first button, a small white box (the size of the loader) appears on top of the loaded photo. Once you cycle through all the photos, the white box disappears.
Example: www.nancypalm.net
I’ve used six loaders to hold the various swf files, all positioned at the same x-y coordinates. Here’s an example of the code for the buttons:
on (release) {
//load Movie Behavior
_root.loadera.gotoAndPlay("31");
_root.loaderbb.gotoAndPlay("31");
_root.loaderc.gotoAndPlay("31");
_root.loaderd.gotoAndPlay("31");
_root.loadere.gotoAndPlay("31");
_root.loaderf.gotoAndPlay("31");
_root.loaderg.gotoAndPlay("31");
_root.loaderh.gotoAndPlay("31");
if (_root.loadera != Number(_root.loadera)) {_root.loadera.loadMovie("bwgroup.swf");
}
}
I thought a preloader might do the trick and created a basic one with this code:
onClipEvent (enterFrame) {
if (_parent.getBytesLoaded() == _parent.getBytesTotal()) {
_parent.nextFrame();
}
}
The preloader loads very quickly but the white boxes still appear. And now I’m a bit confused and any help would be appreciated. Thanks!