How'd they do THIS?!

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

With Flash and depth changing, I’d imagine.

Like Z sorting?

Yeah I would also like to know how that was done. Really cool!!

Needs some improvement, but what about this
Stack Gallery

scotty(-:

Hey scotty I think you got…Looks good

That does look really good. I have mulling this one over and I have gotten close but I can’t get the smooth movement of the pictures. Scotty can you let us know how you did it?

Thanks for any help.

Roger

yep, good use of the swapDepths() function.

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

I can’t open the page ?

darn it im several days late lol
was gonna suggest its being done with a simple movement code and a swapDepths() when it reaches a certain frame/x pos (frame ifu wanna do it long way round or with mcs ;))

Prophet.

EDIT:- btw i broke your example Scotty… just click a few times before the photos get a chance to go to the back and hey presto, u got a broken example :wink: lol

It can be done using mainly the timeline

if you spaze like almost every person does when you give them a chance to click as fast as they want it easily locks up. so first poster guy set a wait up for clicking.

check the original site - it doesnt have this problem…
and what if you wer searching for a particular image to show your friend?
u dont “spaz out” and if you have to wait it just gets annoying and you end up not showing your mate…

not sure how scotty did it but id use mcs with the animation on them (and at the appropriate keyframe the swapDepths function) and then just have an invisible button which does a simple play() function on the next mc… which of course it finds via a variable:

_root["mc"+i].play()
i++
if(i > numberMCPhotos){
    i=0
}

wer of course the photos are mcs named mc0, mc1, mc2 etc etc…

Prophet.

Like this;)

scotty(-:

ello scotty where can i put in ur fla if i’m wanna using 500x450 size pictured…coz currently my picture move to right a little bit as well as the bottom…

which part in the code i have to changed…
opsss… almost forgot my canvas size would be 700 x 600…

really need help…thank you…

The dimensions of your movie?
I’ll have a look later…

scotty(-:

ok sir…i’ll look forward for ur reply…

tq

ello scotty…how about my question regarding dimension of the movie…still waiting for ur guided…i try to change the code but it seem’s not working…emmm…pls help me…