# Blink with dynamic jpg transitions?

**URL:** <https://forum.kirupa.com/t/blink-with-dynamic-jpg-transitions/57568>\
**Category:** flash\
**Created:** [July 14, 2004, 11:55am UTC](https://forum.kirupa.com/t/blink-with-dynamic-jpg-transitions/57568 "2004-07-14T11:55:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [July 14, 2004, 11:55am UTC](https://forum.kirupa.com/t/blink-with-dynamic-jpg-transitions/57568/1 "2004-07-14T11:55:17Z")

</div>

Got stuck,

please look at [http://www.xmoment.nl/flashTest/home.html](http://www.xmoment.nl/flashTest/home.html)

i got the images and text dynamic loaded, but i get a pesky blink between transitions.

Any ideas tips how to prevent this?

Part of my code

```auto

function preload () {
	var t = container.getBytesTotal (), l = container.getBytesLoaded ();
	var tt = containerBG.getBytesTotal (), ll = containerBG.getBytesLoaded ();
	if (t && l == t) { //wanna be sure container is loaded
		//container._visible = true;
		if (tt && ll == tt) { //be sure containerBG is loaded
			//containerBG._visible = false;
			clearInterval (myInterval);
			gotoAndPlay (2); //both are loaded so go
		}
		// end if
	}
	//end if
}
//end preload
loadMovie (pathToPixs + "image" + bgPic + ".jpg", "containerBG");
loadMovie (pathToPixs + "image" + whichPic + ".jpg", "container");
myInterval = setInterval (preload, 5);

```
