Stage.scaleMode = "showAll"; Xsize = Stage.width; Ysize = Stage.height; Stage.scaleMode = "noScale"; _root.createEmptyMovieClip("bitmapFix", 10000); with (bitmapFix) { beginFill(0x000000, 0); moveTo(0, 0); lineTo(Xsize, 0); lineTo(Xsize, Ysize); lineTo(0, Ysize); endFill(); } n_strisce = 10; velocita=33; spessore = (Xsize+Ysize)/n_strisce; delay = 10; pausa = 5000; _root.createEmptyMovieClip("sopra", 2); _root.createEmptyMovieClip("sotto", 1); LaX = 0; LaY = 0; for (var i = 0; i5 and sopra.striscia1.holder.getBytesLoaded()>=sopra.striscia1.holder.getBytesTotal()) { for (var i = 0; idelay) { if (s=100) { _root.index = fixIndex(_root.index+1); swap(); clearInterval(fading); timer2 = setInterval(transition, pausa); } c_delay = 0; } } } function swap() { loadMovie(images_array[fixindex(_root.index)], sotto); _root.onEnterFrame = function() { if (sotto.getBytesTotal()>5 and sotto.getBytesLoaded()>=sotto.getBytesTotal()) { trace("swap"); delete _root.onEnterFrame; loading = setInterval(_root.loadNext, 1000, _root.index); } }; } function transition() { trace("transition"); clearInterval(timer2); c_delay = 0; s = 1; fading = setInterval(fade, velocita); } stop();