How'd they do THIS?!

http://www.flink.be/useagain/gallery/index.php?myDir=opening%20night

Credits for this gallery need to go out to CraftyMind over at the twelvestone forums. The principle is quite simple: a PHP reads the contents of a directory and spits out an XML with all image names and widths/heights of all JPG’s in that particular directory. Flash reads this XML and then starts loading all images.

<?
$xml = '<?xml version="1.0"?'.'>';
$handle = opendir(".");
while ( ($file=readdir($handle)) !== false ) {
	if ( !is_dir($file) ){
		$pic = @getimagesize($file);
		if($pic != false && $pic[2] == 2){
			$xml .= '<img src="'.$file.'" width="'.$pic[0].'" height="'.$pic[1].'" />';
		}
	}
}
echo $xml;
?>

The animation is done with actionscript tweening, making use of Robert Penners easing functions (see www.robertpenner.com or [url=“http://www.ultrashock.com”]www.ultrashock.com for more info on this).

If you want to know more about it, download the sourcefiles or see some of your questions answered: read more about it here: http://www.twelvestone.com/forums/showthread.php?s=&threadid=15182

Have fun with it!!

YESSSSSSSSSSSSSSSSS!!!
THANKS!!!
xoxoxoxox