Page 1 of 1

Close-Button

Posted: 22 Oct 2008, 09:04
by pat_morita
hi all!

First of all: Awesome work. I never found a gallery that user-friendly and well done before - and i tried several ones. I even programmed my own.

What i actually did is: I integrated a standalone slideshow into a flash project. Through i couldn't use the gallerymode (didnt fit to my website) i programmed my own one which sends a link to the movieclip with the specified paramters - and the imagevue slideshow is loaded. Everything works fine.

My problem is: I try to catch the CLOSE command, when it appears in the slideshow to unload the slideshow and turn back to my normal flashsite. But i cant find it in the source file ... any help? I just need the right path to the close button command to read its status and to react to any action.

i know how to program it. just dont find it :D

Posted: 23 Oct 2008, 00:23
by mjau-mjau
I suppose you are looking for the correct code in the slideshow.fla file then?

Try layer "controls", frame 3:
Code
closeslideshowfunc = function () {
	this.finifunc = function() {
		this.removeslideshow();
	};
	this.mfade({_alpha:0}, 2);
};

Posted: 23 Oct 2008, 05:25
by pat_morita
thats it! i added my code. just passes a global variable to my mc now. Works! Thank you!