I have a set of buttons on a map that when clicked load in a zoomed version jpg file into an empty movie clip. When the loaded jpg / mc is clicked, I want the loaded movie to fade out as it unloads. The fade in is working fine, but I’ve tried several examples I’ve found online for the fade out and none of worked yet. I’d appreciate any help to see what I might be missing. Thanks!
onClipEvent (load) {
_alpha = 0;
alpha = true;
}
onClipEvent (enterFrame) {
if (alpha == true && _alpha<100) {
_alpha += 15;
}
}
on (release) {
_root.empty.unloadMovie()
}