he, he, - jeg ved at det er en super primitiv kode, som jeg bruger, men jeg bruge de søm, som jeg har/kender :)
onClipEvent (enterFrame) {
if (_root.skiftTil == 1 and _root.loader1 == "ja" and _root.tid == "nu" and _root.pic1._alpha<100 and _root.tekstTing2._x<=0) {
_root.pic1._alpha = _root.pic1._alpha+_root.speed;
_root.pic2._alpha = 100-_root.pic1._alpha;
} else if (_root.skiftTil == 1 and _root.loader1 == "ja" and _root.tid == "nu" and _root.pic1._alpha>=100 and _root.tekstTing2._x<=0) {
_root.naesteperson = "af: Tina Louise Hunderup";
_root.naestevaerk = "Transition";
_root.tekst = "on";
_root.pic2.loadMovie("
http://www.firstdisplay.com/sider/uploadimages/product_15_transition_100x150.jpg");
_root.skiftTil = 2;
_root.tid = "ikke nu";
_root.loader2 = "nej";
_parent.play();
}
if (_root.skiftTil == 2 and _root.loader2 == "ja" and _root.tid == "nu" and _root.pic2._alpha<100 and _root.tekstTing2._x<=0) {
_root.pic2._alpha = _root.pic2._alpha+_root.speed;
_root.pic1._alpha = 100-_root.pic2._alpha;
} else if (_root.skiftTil == 2 and _root.loader2 == "ja" and _root.tid == "nu" and _root.pic2._alpha>=100 and _root.tekstTing2._x<=0) {
_root.tekst = "on";
_root.naesteperson = "af: Ned Cantrell";
_root.naestevaerk = "Under Water Love";
_root.pic1.loadMovie("
http://www.firstdisplay.com/sider/uploadimages/product_27_Underwater.jpg");
_root.skiftTil = 1;
_root.tid = "ikke nu";
_root.loader1 = "nej";
_parent.play();
}
//trace("tid: "+_root.tid+", skiftTil: "+_root.skiftTil+", loader1: "+_root.loader1+", loader2: "+_root.loader2+", alpha1: "+_root.pic1._alpha+", alpha2: "+_root.pic2._alpha);
}
// forstår du det?