View Full Version : about a image slideshow
maanas
October 16th, 2003, 09:29 AM
dear
fellow
can u tell me one thing, how to call an external jpeg file in a thumbnail and on click event showing the same image with greater dimension along with the text file
Inflicted
October 16th, 2003, 09:43 AM
I've got an example for you that you can change to your own needs.
www.tantesteef.nl/trein.html
I can send it to you if you like.
regards
maanas
October 20th, 2003, 08:27 AM
thanks
inflicted
i have gone through the site everything is working fine , but i am stille not getting how to manipualte the alpha value of externally called jpeg file, i will be really thankfull if u clear this out,
ne way if u can send the source file it will be really a big big help
thanks
Inflicted
October 20th, 2003, 01:27 PM
You can download my sample file, and look at it. If you have questions I'll help you out.
regards
www.inflicted.nl/trein.fla.zip
maanas
October 21st, 2003, 02:31 AM
thanks
inflicted
one more question, ok i like to tell u, exactly what is the concept, everything is fine , what i have to do, there 10 thumbnail on the stage of different category, if u click on one category, a big image will be open on click event, the whole jpeg file should be called externally plus along with the big image i have to integrate the text file below the big image.
the whole thing is completed, but the problem what i am facing is that i have to give a transition effect the each externally called jpeg file say on click whenever a image is called it should be come as fade in, plus the background of the movie should change automically,
so if u got the solution plz suggest something
manas
Inflicted
October 21st, 2003, 04:55 AM
next.onPress = function() {
if (myPic<6 && !fadein && !fadeout) {
fadeOut = true;
myPic++;
input = myPic;
}
};
back.onPress = function() {
if (myPic>1 && !fadein && !fadeout) {
fadeOut = true;
myPic--;
input = myPic;
}
};
container._alpha = 0;
myPic = 1;
// initiate change to new image when buttons are clicked
this.onEnterFrame = function() {
// when a new Photo is selected, fade out, load new image, and fade in
if (container._alpha>10 && fadeout) {
container._alpha -= 10;
}
if (container._alpha<10) {
loadMovie("images/your_pic"+mypic+".jpg", "container");
fadeOut = false;
fadeIn = true;
}
if (container._alpha<100 && fadein && !fadeout) {
container._alpha += 10;
} else {
fadeIn = false;
}
};
This is the fade in fade out effect. Save your images in a folder called "images", save them as "my_pic1", "my_pic 2" and so on.
visualidea
November 5th, 2003, 10:11 AM
I want to create this same fade in and fade out effect for a portfolio. Not using a next and back button but several thumbnail buttons. How would I go about doing that? I've searched and can't find the answer. Thanks for any help.
scotty
November 5th, 2003, 12:41 PM
take a look at this (home.wanadoo.nl/gertvinke/Main.zip)
just be creative with the buttons
scotty
visualidea
November 5th, 2003, 01:34 PM
Thanks a lot Scotty. That's exactly what I wanted to do. What is the .DS_Store file?
scotty
November 5th, 2003, 04:57 PM
i'm not sure. i think it's a little file that the mac creates to know where he has stored something.
you can just ignore it(-:
scotty
muddymac
March 18th, 2004, 05:59 AM
Scotty,
Question, If I wanted the images to be external, is this possible? In this example you're locked into the array that is defined in the Movie. Is there a way to build an external Array that calls the images from a directory?
Thanks.
scotty
March 18th, 2004, 01:40 PM
I think that can be done with XML.
scotty(-:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.